I don't know - build errors yarn (maybe because rebuild)
See original GitHub issue- electron: “^1.4.6”,
- electron-builder: “^8.0.0”,
- electron-packager: “^8.2.0”,
- regenerator-runtime: “^0.9.6”
- Target: Windows x64
Feel free to close if you know what or why it appears, or if your time allows help me what i should change to fix it, else i just revert to previous versions where everything worked.
When I run build i get:
C:\projekte\ai\electron-ner>node_modules\.bin\build --win --x64
Rebuilding native production dependencies for arch x64
Packaging for win32 x64 using electron 1.4.6 to dist\win-unpacked
RangeError: Maximum call stack size exceeded
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:80:17)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
at flatDependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:91:7)
From previous event:
at dependencies (C:\projekte\ai\electron-ner\node_modules\electron-builder\src\yarn.ts:71:6)
at C:\projekte\ai\electron-ner\node_modules\electron-builder\src\platformPackager.ts:189:13
at next (native)
From previous event:
at C:\projekte\ai\electron-ner\node_modules\electron-builder\src\packager\dirPackager.ts:58:11
at next (native)
at runCallback (timers.js:637:20)
at tryOnImmediate (timers.js:610:5)
at processImmediate [as _immediateCallback] (timers.js:582:5)
From previous event:
at pack (C:\projekte\ai\electron-ner\node_modules\electron-builder\out\packager\dirPackager.js:43:21)
at C:\projekte\ai\electron-ner\node_modules\electron-builder\src\platformPackager.ts:186:5
at next (native)
From previous event:
at WinPackager.doPack (C:\projekte\ai\electron-ner\node_modules\electron-builder\out\platformPackager.js:307:11)
at C:\projekte\ai\electron-ner\node_modules\electron-builder\src\winPackager.ts:119:16
at next (native)
From previous event:
at WinPackager.pack (C:\projekte\ai\electron-ner\node_modules\electron-builder\out\winPackager.js:192:11)
at C:\projekte\ai\electron-ner\node_modules\electron-builder\src\packager.ts:132:22
From previous event:
at Packager.doBuild (C:\projekte\ai\electron-ner\node_modules\electron-builder\out\packager.js:260:11)
at C:\projekte\ai\electron-ner\node_modules\electron-builder\src\packager.ts:100:32
at next (native)
at runCallback (timers.js:637:20)
at tryOnImmediate (timers.js:610:5)
at processImmediate [as _immediateCallback] (timers.js:582:5)
From previous event:
at Packager.build (C:\projekte\ai\electron-ner\node_modules\electron-builder\out\packager.js:212:11)
at C:\projekte\ai\electron-ner\node_modules\electron-builder\src\builder.ts:233:33
at next (native)
From previous event:
at build (C:\projekte\ai\electron-ner\node_modules\electron-builder\out\builder.js:81:21)
at Object.<anonymous> (C:\projekte\ai\electron-ner\node_modules\electron-builder\out\build-cli.js:66:41)
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:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
node-gyp build error causes yarn install to fail #7265 - GitHub
Possibly a bug. What is the current behavior? yarn install fails with the following stack trace. Been trying to debug this for over...
Read more >Error Codes | Yarn - Package Manager
A package must be rebuilt. This information message occurs when Yarn wishes to let you know that a package will need to be...
Read more >Yarn, node-gyp rebuild compile error, node_modules/fsevents
I just ran into something similar. deleting node_modules and removing yarn.lock fixed the problem for me. sudo rm -r node_modules && rm ...
Read more >Troubleshooting Common Errors - Gatsby
Because gatsby develop doesn't run server-side rendering, the build may look different if the plugin is not included to tell Gatsby to server-side...
Read more >Yarn lock: how it works and what you risk without maintaining ...
The answer at this point is actually pretty simple – even though both of the JSV and JST versions are not pinned and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is happening to me too with the exact same versions of everything, on this project.
Cool! Thanks a lot!