Electron-builder: node_modules folder not included in the packaged Windows installer

Created on 1 Nov 2017  路  12Comments  路  Source: electron-userland/electron-builder

  "devDependencies": {
    "electron-builder": "^19.37.2",
    "electron-prebuilt": "^1.4.13"
  }

Building a Windows NSIS installer

The result of the "dist": "electron-builder --x64" script does not seem to include the node_modules folder, resulting for the require code to fail.

However, when testing the app in the win-unpacked folder, ALL the features work smoothly.

It was validated using mainWindow.webContents.openDevTools(); in the entry point JS file.

Below are the dependencies needed but are currently being left out:

"dependencies": {
    "chromedriver": "^2.33.1",
    "electron-log": "^2.2.9",
    "electron-updater": "^2.10.2",
    "file-saver": "^1.3.3",
    "geckodriver": "^1.9.0",
    "hammerjs": "^2.0.8",
    "iedriver": "^3.4.0",
    "jquery": "^3.2.1",
    "node-cmd": "^3.0.0",
    "path": "^0.12.7",
    "pretty": "^2.0.0",
    "pretty-js": "^0.2.0",
    "selenium-webdriver": "^3.6.0"
  }

Any help is appreciated. Thanks!

obsolete

All 12 comments

Please set env DEBUG=electron-builder and attach log of the terminal output.

Quick hint: if you use 2-package.json, dependencies must be in the app package.json

Based on the logs, it seems like the 3 browser drivers are not packed into asararchive? Would there be a workaround for that?

I also only see a package.json and a package-lock.json in the root project folder though. Thanks!

C:\Users\john.p.c.punzalan\Desktop\seleniumconverter>npm run dist

> [email protected] dist C:\Users\john.p.c.punzalan\Desktop\seleniumconverter
> electron-builder --x64

electron-builder 19.37.2
  electron-builder Effective config:
  electron-builder {}
  electron-builder  +0ms
No native production dependencies
Packaging for win32 x64 using electron 1.4.13 to dist\win-unpacked
  electron-builder Spawning C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\node_modules\7zip-bin-win\x64\7za.exe x -bd C:\Users\john.p.c.punzalan\AppData\Local\electron\Cache\electron-v1.4.13-win32-x64.zip -aoa -oC:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\win-unpacked +5s

7-Zip (a) 17.01 beta (x64) : Copyright (c) 1999-2017 Igor Pavlov : 2017-08-28

Scanning the drive for archives:
1 file, 54339658 bytes (52 MiB)

Extracting archive: C:\Users\john.p.c.punzalan\AppData\Local\electron\Cache\electron-v1.4.13-win32-x64.zip
--
Path = C:\Users\john.p.c.punzalan\AppData\Local\electron\Cache\electron-v1.4.13-win32-x64.zip
Type = zip
Physical Size = 54339658

Everything is Ok

Files: 74
Size:       137832472
Compressed: 54339658
  electron-builder 7za.exe (13552) exited with exit code 0 +2s
  electron-builder node_modules\chromedriver\lib\chromedriver\chromedriver.exe is not packed into asar archive - contains executable code +9s
  electron-builder node_modules\geckodriver\geckodriver.exe is not packed into asar archive - contains executable code +185ms
  electron-builder node_modules\iedriver\lib\iedriver64\IEDriverServer.exe is not packed into asar archive - contains executable code +51ms
  electron-builder Executing C:\Users\john.p.c.punzalan\AppData\Local\electron-builder\cache\winCodeSign\winCodeSign-1.9.0\rcedit.exe C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\win-unpacked\Selenium JavaScript IDE.exe --set-version-string FileDescription Selenium JavaScript IDE --set-version-string ProductName Selenium JavaScript IDE --set-version-string LegalCopyright Copyright 漏 2017 John Paulo Punzalan --set-file-version 1.0.0 --set-product-version 1.0.0.0 --set-version-string InternalName Selenium JavaScript IDE --set-version-string OriginalFilename  --set-version-string CompanyName John Paulo Punzalan --set-icon C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\build\icon.ico +13s
wine&sign: 0s 830ms
Building nsis installer (x64)
  electron-builder Executing C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\node_modules\7zip-bin-win\x64\7za.exe a -bd -mx=9 -mtc=off -mtm=off -mta=off C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\seleniumconverter-1.0.0-x64.nsis.7z . +897ms
  electron-builder cwd: C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\win-unpacked +4ms
nsis package, x64: 97s 573ms
  electron-builder Spawning C:\Users\john.p.c.punzalan\AppData\Local\electron-builder\cache\nsis\nsis-3.0.1.13\Bin\makensis.exe -WX -DAPP_ID=com.electron.seleniumconverter -DAPP_GUID=18e73915-0cb0-5daf-933e-9649ed7c2e79 -DPRODUCT_NAME=Selenium JavaScript IDE -DPRODUCT_FILENAME=Selenium JavaScript IDE -DAPP_FILENAME=seleniumconverter -DAPP_DESCRIPTION=Convert Selenium IDE HTML files to JS and run it on a chosen browser -DVERSION=1.0.0 -DPROJECT_DIR=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter -DBUILD_RESOURCES_DIR=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\build -DCOMPANY_NAME=John Paulo Punzalan -DAPP_PRODUCT_FILENAME=Selenium JavaScript IDE -DMUI_ICON=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\build\icon.ico -DMUI_UNICON=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\build\icon.ico -DAPP_64=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\seleniumconverter-1.0.0-x64.nsis.7z -DAPP_64_NAME=seleniumconverter-1.0.0-x64.nsis.7z -DAPP_64_HASH=C623A54C8E560A2E0CFDBA3717C8B382E324BA0D94E52220C9775A2645FE4E80645D3852374EE4686022BAACB90F420FD640F3156905448683A8BBA3EC5089C6 -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=Selenium JavaScript IDE -DUNINSTALL_DISPLAY_NAME=Selenium JavaScript IDE 1.0.0 -DCOMPRESS=auto -DBUILD_UNINSTALLER -DUNINSTALLER_OUT_FILE=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\.__uninstaller-nsis-seleniumconverter.exe -XOutFile "C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\Selenium JavaScript IDE Setup 1.0.0.exe" -XVIProductVersion 1.0.0.0 -XVIAddVersionKey /LANG=1033 ProductName "Selenium JavaScript IDE" -XVIAddVersionKey /LANG=1033 ProductVersion "1.0.0" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright 漏 2017 John Paulo Punzalan" -XVIAddVersionKey /LANG=1033 FileDescription "Convert Selenium IDE HTML files to JS and run it on a chosen browser" -XVIAddVersionKey /LANG=1033 FileVersion "1.0.0" -XVIAddVersionKey /LANG=1033 CompanyName "John Paulo Punzalan" -XUnicode true -XSetCompressor zlib - +2m
  electron-builder cwd: C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\node_modules\electron-builder\templates\nsis +0ms
  electron-builder makensis.exe (8164) exited with exit code 0 +1s
  electron-builder Executing C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\Selenium JavaScript IDE Setup 1.0.0.exe  +0ms
  electron-builder Spawning C:\Users\john.p.c.punzalan\AppData\Local\electron-builder\cache\nsis\nsis-3.0.1.13\Bin\makensis.exe -WX -DAPP_ID=com.electron.seleniumconverter -DAPP_GUID=18e73915-0cb0-5daf-933e-9649ed7c2e79 -DPRODUCT_NAME=Selenium JavaScript IDE -DPRODUCT_FILENAME=Selenium JavaScript IDE -DAPP_FILENAME=seleniumconverter -DAPP_DESCRIPTION=Convert Selenium IDE HTML files to JS and run it on a chosen browser -DVERSION=1.0.0 -DPROJECT_DIR=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter -DBUILD_RESOURCES_DIR=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\build -DCOMPANY_NAME=John Paulo Punzalan -DAPP_PRODUCT_FILENAME=Selenium JavaScript IDE -DMUI_ICON=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\build\icon.ico -DMUI_UNICON=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\build\icon.ico -DAPP_64=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\seleniumconverter-1.0.0-x64.nsis.7z -DAPP_64_NAME=seleniumconverter-1.0.0-x64.nsis.7z -DAPP_64_HASH=C623A54C8E560A2E0CFDBA3717C8B382E324BA0D94E52220C9775A2645FE4E80645D3852374EE4686022BAACB90F420FD640F3156905448683A8BBA3EC5089C6 -DCOMPRESSION_METHOD=7z -DONE_CLICK -DRUN_AFTER_FINISH -DSHORTCUT_NAME=Selenium JavaScript IDE -DUNINSTALL_DISPLAY_NAME=Selenium JavaScript IDE 1.0.0 -DCOMPRESS=auto -DUNINSTALLER_OUT_FILE=C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\.__uninstaller-nsis-seleniumconverter.exe -XOutFile "C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\dist\Selenium JavaScript IDE Setup 1.0.0.exe" -XVIProductVersion 1.0.0.0 -XVIAddVersionKey /LANG=1033 ProductName "Selenium JavaScript IDE" -XVIAddVersionKey /LANG=1033 ProductVersion "1.0.0" -XVIAddVersionKey /LANG=1033 LegalCopyright "Copyright 漏 2017 John Paulo Punzalan" -XVIAddVersionKey /LANG=1033 FileDescription "Convert Selenium IDE HTML files to JS and run it on a chosen browser" -XVIAddVersionKey /LANG=1033 FileVersion "1.0.0" -XVIAddVersionKey /LANG=1033 CompanyName "John Paulo Punzalan" -XUnicode true -XSetCompressor zlib - +406ms
  electron-builder cwd: C:\Users\john.p.c.punzalan\Desktop\seleniumconverter\node_modules\electron-builder\templates\nsis +0ms
  electron-builder makensis.exe (12584) exited with exit code 0 +1s

C:\Users\john.p.c.punzalan\Desktop\seleniumconverter>

Please remove package-lock.json and do not use npm. Please use yarn. Remove node_modules and yarn. After that build and provide full error message.

Log for yarn install command after removing package-lock.json and node_modules.

C:\Users\john.p.c.punzalan\Desktop\seleniumconverter>yarn install
yarn install v1.2.1
info No lockfile found.
[1/4] Resolving packages...
warning geckodriver > [email protected]: 鈿狅笍  WARNING 鈿狅笍 tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
warning iedriver > rimraf > [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
warning iedriver > [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
warning electron-builder > electron-download-tf > nugget > progress-stream > through2 > xtend > [email protected]:
warning [email protected]: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6.11.4".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

C:\Users\john.p.c.punzalan\Desktop\seleniumconverter>

yarn run dist ERROR

C:\Users\john.p.c.punzalan\Desktop\seleniumconverter>yarn run dist
yarn run v1.2.1
$ electron-builder --x64
electron-builder 19.34.1
Installing app dependencies for win32:x64 to C:\Users\john.p.c.punzalan\Desktop\seleniumconverter
Error: C:\Program Files\nodejs\node.exe exited with code 1
Error output:
warning geckodriver > [email protected]: 鈿狅笍  WARNING 鈿狅笍 tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
warning iedriver > rimraf > [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
warning iedriver > [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
warning electron-builder > electron-download-tf > nugget > progress-stream > through2 > xtend > [email protected]:
warning [email protected]: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6.11.4".
error Found incompatible module

    at ChildProcess.childProcess.once.code (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:227:14)
    at ChildProcess.g (events.js:292:16)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:891:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
From previous event:
    at spawn (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\node_modules\builder-util\src\util.ts:190:3)
    at installDependencies (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\util\yarn.ts:91:3)
    at C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\util\yarn.ts:18:11
    at next (native)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
From previous event:
    at installOrRebuild (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\out\util\yarn.js:34:21)
    at C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\packager.ts:338:7
    at next (native)
From previous event:
    at Packager.installAppDependencies (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\out\packager.js:408:11)
    at C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\packager.ts:234:20
    at next (native)
From previous event:
    at Packager.doBuild (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\out\packager.js:344:11)
    at C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\packager.ts:186:52
    at next (native)
From previous event:
    at Packager.build (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\out\packager.js:263:11)
    at C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\builder.ts:283:40
    at next (native)
From previous event:
    at build (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\out\builder.js:63:21)
    at loadEnv.then (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\cli\cli.ts:49:4)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
From previous event:
    at Object.args [as handler] (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\cli\cli.ts:49:4)
    at Object.runCommand (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\node_modules\yargs\lib\command.js:226:22)
    at Object.parseArgs [as _parseArgs] (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\node_modules\yargs\yargs.js:998:24)
    at Object.get [as argv] (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\node_modules\yargs\yargs.js:912:21)
    at Object.<anonymous> (C:\Users\john.p.c.punzalan\AppData\Roaming\npm\node_modules\electron-builder\src\cli\cli.ts:43:15)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:504:3
error Command failed with exit code 4294967295.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

C:\Users\john.p.c.punzalan\Desktop\seleniumconverter>
  1. please update nodejs to 8
  2. please change electron-prebuilt to electron (version 1.7.9)

I have upgraded to NodeJS v8 and built the installer successfully using yarn. However, the require syntax still does not seem to work. Kindly check the screenshot below.

image

The node_modules folder still is not present as seen in the screenshot below.
image

Just an update..

All features successfully work _when_ I use the app from the win-unpacked folder. However, when I use the app through the built Windows installer using electron-builder, it throws an error, saying that the npm package cannot be found. The Electron app revolves around the selenium-webdriver npm package by the way.

Is there a workaround regarding this?

Please npm ls --production

Here is the result of the npm ls --production command. It seems fine I think.

C:\Users\john.p.c.punzalan\Desktop\Initiatives\seleniumconverter>npm ls --prod
[email protected] C:\Users\john.p.c.punzalan\Desktop\Initiatives\seleniumconverter
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected] deduped
| | | +-- [email protected] deduped
| | | +-- [email protected]
| | | `-- [email protected] deduped
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | |   `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected] deduped
| +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected] deduped
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| |   `-- [email protected]
| |     `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   | `-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   | +-- [email protected]
|   | +-- [email protected] deduped
|   | `-- [email protected] deduped
|   +-- [email protected]
|   | +-- [email protected]
|   | | +-- [email protected]
|   | | +-- [email protected]
|   | | +-- [email protected]
|   | | `-- [email protected]
|   | `-- [email protected]
|   +-- [email protected]
|   | +-- [email protected]
|   | | `-- [email protected] deduped
|   | +-- [email protected]
|   | | `-- [email protected]
|   | |   `-- [email protected] deduped
|   | +-- [email protected]
|   | `-- [email protected]
|   |   `-- [email protected] deduped
|   +-- [email protected]
|   | +-- [email protected]
|   | +-- [email protected]
|   | | +-- [email protected] deduped
|   | | +-- [email protected]
|   | | +-- [email protected]
|   | | `-- [email protected]
|   | |   +-- [email protected] deduped
|   | |   +-- [email protected] deduped
|   | |   `-- [email protected] deduped
|   | `-- [email protected]
|   |   +-- [email protected]
|   |   +-- [email protected] deduped
|   |   +-- [email protected]
|   |   | `-- [email protected] deduped
|   |   +-- [email protected]
|   |   | `-- [email protected] deduped
|   |   +-- [email protected]
|   |   | `-- [email protected] deduped
|   |   +-- [email protected]
|   |   | `-- [email protected] deduped
|   |   +-- [email protected]
|   |   `-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   | `-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   | `-- [email protected]
|   +-- [email protected]
|   | `-- [email protected] deduped
|   `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected] deduped
| | +-- [email protected]
| | | `-- [email protected] deduped
| | +-- [email protected] deduped
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected] deduped
| | `-- [email protected]
| |   +-- [email protected]
| |   +-- [email protected]
| |   | `-- [email protected] deduped
| |   `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
|   `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected] deduped
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | |   `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected] deduped
| | | `-- [email protected] deduped
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected] deduped
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected] deduped
| | | +-- [email protected]
| | | | `-- [email protected] deduped
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| |   `-- [email protected]
| `-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   +-- [email protected]
|   | +-- [email protected] deduped
|   | +-- [email protected] deduped
|   | +-- [email protected] deduped
|   | `-- [email protected] deduped
|   +-- [email protected]
|   `-- [email protected]
|     +-- [email protected]
|     | `-- [email protected] deduped
|     +-- [email protected] deduped
|     `-- [email protected] deduped
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected] deduped
| `-- [email protected]
|   `-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
|   `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected] deduped
| | +-- [email protected]
| | `-- [email protected]
| |   `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
|   +-- [email protected] deduped
|   +-- [email protected]
|   | +-- [email protected] deduped
|   | +-- [email protected] deduped
|   | +-- [email protected]
|   | | `-- [email protected]
|   | +-- [email protected] deduped
|   | `-- [email protected]
|   +-- [email protected] deduped
|   `-- [email protected]
|     `-- [email protected] deduped
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
`-- [email protected]
  +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | +-- [email protected]
  | | `-- [email protected]
  | +-- [email protected]
  | `-- [email protected]
  |   +-- [email protected] deduped
  |   +-- [email protected] deduped
  |   +-- [email protected] deduped
  |   +-- [email protected] deduped
  |   +-- [email protected]
  |   `-- [email protected] deduped
  +-- [email protected]
  | `-- [email protected]
  |   +-- [email protected]
  |   +-- [email protected]
  |   | +-- [email protected] deduped
  |   | `-- [email protected]
  |   +-- [email protected] deduped
  |   +-- [email protected]
  |   | `-- [email protected]
  |   |   +-- [email protected]
  |   |   `-- [email protected]
  |   +-- [email protected]
  |   | `-- [email protected] deduped
  |   `-- [email protected]
  +-- [email protected]
  | `-- [email protected]
  `-- [email protected]
    +-- [email protected] deduped
    `-- [email protected]

Same here.

Is there a reason to use yarn instead of npm?

https://github.com/electron-userland/electron-builder/issues/2356

Same issue here also

Please remove package-lock.json and do not use npm. Please use yarn. Remove node_modules and yarn. After that build and provide full error message.

@sethunath did you try that?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mstralka picture mstralka  路  3Comments

StickNitro picture StickNitro  路  3Comments

NPellet picture NPellet  路  3Comments

AidanNichol picture AidanNichol  路  3Comments

jhg picture jhg  路  3Comments