daedalus: "npm run start-hot" ends in exception
With 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
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (1 by maintainers)
Thank you a lot, @h4ck3rm1k3!
Dear maintainers, please add the instructionNODE_ENV=development node --preserve-symlinks -r babel-register webpack/server.jsinto Development section.Development section describes already two methods to run Daedalus with
npmok 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