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

problem running npm run demo on linux #3

Closed
ligi opened this issue Mar 13, 2018 · 2 comments
Closed

problem running npm run demo on linux #3

ligi opened this issue Mar 13, 2018 · 2 comments

Comments

@ligi
Copy link
Contributor

ligi commented Mar 13, 2018

the project sounds super interesting - unfortunately I am getting the following error after runnint npm run demo on linux:

npm WARN webpack-cli@2.0.11 requires a peer of webpack@^4.0.0 but none was installed.
npm WARN Frame@0.0.0 No repository field.
npm WARN Frame@0.0.0 No license field.
/home/ligi/git/3rd/frame/node_modules/electron-rebuild/lib/src/rebuild.js:81
                depKeys.push(...Object.keys(rootPackageJson.dependencies || {}));
                             ^^^

SyntaxError: Unexpected token ...
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/ligi/git/3rd/frame/node_modules/electron-rebuild/lib/src/cli.js:17:19)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

npm ERR! Linux 4.10.0-42-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "demo"
npm ERR! node v4.7.2
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! Frame@0.0.0 demo: `npm install && electron-rebuild && npm run dev`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the Frame@0.0.0 demo script 'npm install && electron-rebuild && npm run dev'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Frame package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install && electron-rebuild && npm run dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs Frame
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls Frame
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ligi/git/3rd/frame/npm-debug.log

unfortunately the file "/home/ligi/git/3rd/frame/npm-debug.log" does not exist

@floating
Copy link
Owner

Hey @ligi! I think this particular issue is related to the node version you're running, see electron/rebuild#200.

@floating
Copy link
Owner

Closing for now, let me know if you run into any issues after updating node.

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

No branches or pull requests

2 participants