emeraldpay / emerald-wallet

Emerald Wallet
https://emerald.cash
Apache License 2.0
211 stars 102 forks source link

windows 10 npm run start:electron error #604

Open ghost opened 6 years ago

ghost commented 6 years ago

D:\work\emerald-wallet-0.10.0>npm run start:electron

EmeraldWallet@0.10.0 start:electron D:\work\emerald-wallet-0.10.0 NODE_ENV=development ./node_modules/.bin/electron .

'NODE_ENV' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

npm ERR! Windows_NT 10.0.16299 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "start:electron" npm ERR! node v6.13.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! EmeraldWallet@0.10.0 start:electron: NODE_ENV=development ./node_modules/.bin/electron . npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the EmeraldWallet@0.10.0 start:electron script 'NODE_ENV=development ./node_modules/.bin/electron .'. 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 EmeraldWallet package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! NODE_ENV=development ./node_modules/.bin/electron . npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs EmeraldWallet npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls EmeraldWallet npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! D:\work\emerald-wallet-0.10.0\npm-debug.log

D:\work\emerald-wallet-0.10.0>

gagarin55 commented 6 years ago

Could you provide:

npm ERR! Please include the following file with any support request:
npm ERR! D:\work\emerald-wallet-0.10.0\npm-debug.log

We are using node 8 for development.

ghost commented 6 years ago

@gagarin55 i change node version to 8.11.1, but the same problem.

ghost commented 6 years ago

@gagarin55 image

shanejonas commented 6 years ago

you need to run npm install to install all the dependencies.

then npm run build:all to build the source and then npm run start:electron to get it all goin in electron.

ghost commented 6 years ago

@shanejonas i already run npm install.

ghost commented 6 years ago

@shanejonas image it will work.

BelfordZ commented 6 years ago

@yourihua did you want to make a pull request adding this?