yarnpkg

Yarn build - Crashes error JavaScript heap out of memory

自作多情 提交于 2020-08-08 05:28:33
问题 I have a Vue application. while running yarn build for that application it is failing with error as " FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory" Apparently not crash... only restart and the error appears again yarn serve doesn't show any error I've already try using --max_old_space_size , but it doesn't work. Building for production... <--- Last few GCs ---> [15106:0x104800000] 59679 ms: Scavenge 1309.5 (1404.6) -> 1308.7 (1405.1) MB, 17.1 / 0.0 ms

Can't Add Icon To Electron App With Electron Builder

谁都会走 提交于 2020-07-20 07:17:20
问题 I have made an app with Electron and am trying to package it with Electron Builder. Link to repository Does not contain node_modules folder: Repo here I have a folder named build with my icon.ico in it and my package.json is as follows: { "name": "attendant", "productName": "Attendant", "version": "0.1.0", "description": "A simple app to streamline web development by allowing you index.html to open on a live server in the default browser", "main": "main.js", "scripts": { "start": "electron ."