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

npm build fails in node v13.10.1 #238

Closed
whoisbma opened this issue Mar 8, 2020 · 0 comments · Fixed by #255
Closed

npm build fails in node v13.10.1 #238

whoisbma opened this issue Mar 8, 2020 · 0 comments · Fixed by #255

Comments

@whoisbma
Copy link

whoisbma commented Mar 8, 2020

Failing to build the project generator frontend after generating the commandLine binary, although npm run start seems to work.

Anything I can find re. primordials not being found seems to be node version related... Any thoughts?

> projectGenerator@0.0.1 build C:\Users\bryan\source\repos\openFrameworks\apps\projectGenerator\frontend
> electron-packager . $npm_package_productName --icon=static/icon/of.icns --out=dist --ignore='dist' --ignore='readme.md' --prune --all --overwrite --version=0.30.0

fs.js:39
} = primordials;
    ^

ReferenceError: primordials is not defined
    at fs.js:39:5
    at req_ (C:\Users\bryan\source\repos\openFrameworks\apps\projectGenerator\frontend\node_modules\natives\index.js:143:24)
    at Object.req [as require] (C:\Users\bryan\source\repos\openFrameworks\apps\projectGenerator\frontend\node_modules\natives\index.js:55:10)
    at Object.<anonymous> (C:\Users\bryan\source\repos\openFrameworks\apps\projectGenerator\frontend\node_modules\fs-extra\node_modules\graceful-fs\fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1147:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
    at Module.load (internal/modules/cjs/loader.js:996:32)
    at Function.Module._load (internal/modules/cjs/loader.js:896:14)
    at Module.require (internal/modules/cjs/loader.js:1036:19)
    at require (internal/modules/cjs/helpers.js:72:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! projectGenerator@0.0.1 build: `electron-packager . $npm_package_productName --icon=static/icon/of.icns --out=dist --ignore='dist' --ignore='readme.md' --prune --all --overwrite --version=0.30.0`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the projectGenerator@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\bryan\AppData\Roaming\npm-cache\_logs\2020-03-08T21_12_34_102Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant