"npm run start-hot" ends in exception
See original GitHub issueWith npm install
Daedalus could be build on NixOS
successfully. Unfortunately npm run start-hot
fails.
$ git log -n1 --oneline
ab6aab0c (HEAD -> master, origin/master, origin/HEAD) Merge pull request #617 from input-output-hk/fix/DDW-13-fix-storybook-react-polymorph-styling-issues
$ npm run start-hot
> daedalus@0.8.0 start-hot /home/palik/Documents/devel/cardano/daedalus
> cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./electron/main.development
/home/palik/Documents/devel/cardano/daedalus/node_modules/electron/index.js:9
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
^
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at Object.<anonymous> (/home/palik/Documents/devel/cardano/daedalus/node_modules/electron/index.js:9:9)
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.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/palik/Documents/devel/cardano/daedalus/node_modules/electron/cli.js:3:16)
at Module._compile (module.js:570:32)
npm ERR! Linux 4.9.60
npm ERR! argv "/nix/store/iz92vn135m10jvcxy1f8dch9dgky8gaf-nodejs-6.11.5/bin/node" "/home/palik/.nix-profile/bin/npm" "run" "start-hot"
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! daedalus@0.8.0 start-hot: `cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./electron/main.development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the daedalus@0.8.0 start-hot script 'cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./electron/main.development'.
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 daedalus package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./electron/main.development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs daedalus
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls daedalus
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/palik/Documents/devel/cardano/daedalus/npm-debug.log
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
How to solve npm error "npm ERR! code ELIFECYCLE"
Step 1: $ npm cache clean --force. Step 2: Delete node_modules by $ rm -rf node_modules ( rmdir /S /Q node_modules in windows)...
Read more >npm-audit
The audit command submits a description of the dependencies configured in your project to your default registry and asks for a report of...
Read more >How to Throw Exceptions in Node.js - Rollbar
When trying to track down an error, it can be hard to rationalize what Error is supposed to mean, as opposed to InvalidAge...
Read more >Process | Node.js v19.3.0 Documentation
hasUncaughtExceptionCaptureCallback (); process.hrtime([time]) ... the event loop of the process running, and lets it finish even while the channel is open.
Read more >"The NPM script 'start' exited without indicating that the create ...
"The NPM script 'start' exited without indicating that the create-react-app server was listening for requests" In .Net React Application.
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
Thank you a lot, @h4ck3rm1k3!
Dear maintainers, please add the instructionNODE_ENV=development node --preserve-symlinks -r babel-register webpack/server.js
into Development section.Development section describes already two methods to run Daedalus with
npm
ok wait. again my bad. mdupont@debian-build-speed:~/experiments/daedalus$ cat runserver.sh NODE_ENV=development node --preserve-symlinks -r babel-register webpack/server.js --host 0.0.0.0
On Wed, Jan 3, 2018 at 7:18 AM, Алексей Пастухов notifications@github.com wrote:
– James Michael DuPont