Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I don't know - build errors yarn (maybe because rebuild) #895

Closed
pablomaurer opened this issue Nov 10, 2016 · 6 comments · May be fixed by qcif/data-curator#563
Closed

I don't know - build errors yarn (maybe because rebuild) #895

pablomaurer opened this issue Nov 10, 2016 · 6 comments · May be fixed by qcif/data-curator#563
Labels

Comments

@pablomaurer
Copy link

  • 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
@develar
Copy link
Member

develar commented Nov 10, 2016

i just revert to previous versions where everything worked.

7.x?

Definitely it is bug. Thanks for trying prelease 8.

@develar develar added the bug label Nov 10, 2016
@pablomaurer
Copy link
Author

7.24.1 everything above fails.

@develar
Copy link
Member

develar commented Nov 10, 2016

Is it possible to share link to your project (it will help me to reproduce and write test)?

@pablomaurer
Copy link
Author

pablomaurer commented Nov 10, 2016

Just take the starter template or something like it and add to package.json "pouchdb-node": "^6.0.7". This is causing the issue. afaik.

@TakenPilot
Copy link

This is happening to me too with the exact same versions of everything, on this project.

@pablomaurer
Copy link
Author

Cool! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants