Open sunilvpatel28 opened 7 years ago
Hm, I haven't tested running this locally on Windows. It looks like the issue is in the start script though: "start": "node_modules/nodemon/bin/nodemon.js scripts/start.js",
(in package.json), Windows thinks node_modules
is a command.
Can you try changing it to "./node_modules/
instead? Let me know if that works for you.
Hi,
I get below error while executing npm start at service-my-wallet-v3.
Also attaching log.
0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'start' ] 2 info using npm@4.2.0 3 info using node@v7.10.0 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle blockchain-wallet-service@0.25.0~prestart: blockchain-wallet-service@0.25.0 6 silly lifecycle blockchain-wallet-service@0.25.0~prestart: no script for prestart, continuing 7 info lifecycle blockchain-wallet-service@0.25.0~start: blockchain-wallet-service@0.25.0 8 verbose lifecycle blockchain-wallet-service@0.25.0~start: unsafe-perm in lifecycle true 9 verbose lifecycle blockchain-wallet-service@0.25.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;D:\imp\java demo\blockchain\service-my-wallet-v3\node_modules.bin;%M2_HOME%\bin;C:\Program Files\Java\jdk1.8.0_131\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;D:\Users\SunilVP\AppData\Roaming\npm 10 verbose lifecycle blockchain-wallet-service@0.25.0~start: CWD: D:\imp\java demo\blockchain\service-my-wallet-v3 11 silly lifecycle blockchain-wallet-service@0.25.0~start: Args: [ '/d /s /c', 11 silly lifecycle 'node_modules/nodemon/bin/nodemon.js scripts/start.js' ] 12 silly lifecycle blockchain-wallet-service@0.25.0~start: Returned: code: 1 signal: null 13 info lifecycle blockchain-wallet-service@0.25.0~start: Failed to exec start script 14 verbose stack Error: blockchain-wallet-service@0.25.0 start: (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:194:7)
14 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:194:7)
14 verbose stack at maybeClose (internal/child_process.js:899:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid blockchain-wallet-service@0.25.0
16 verbose cwd D:\imp\java demo\blockchain\service-my-wallet-v3
17 error Windows_NT 6.3.9600
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
19 error node v7.10.0
20 error npm v4.2.0
21 error code ELIFECYCLE
22 error errno 1
23 error blockchain-wallet-service@0.25.0 start:
node_modules/nodemon/bin/nodemon.js scripts/start.js
14 verbose stack Exit status 1 14 verbose stack at EventEmitter.node_modules/nodemon/bin/nodemon.js scripts/start.js
23 error Exit status 1 24 error Failed at the blockchain-wallet-service@0.25.0 start script 'node_modules/nodemon/bin/nodemon.js scripts/start.js'. 24 error Make sure you have the latest version of node.js and npm installed. 24 error If you do, this is most likely a problem with the blockchain-wallet-service package, 24 error not with npm itself. 24 error Tell the author that this fails on your system: 24 error node_modules/nodemon/bin/nodemon.js scripts/start.js 24 error You can get information on how to open an issue for this project with: 24 error npm bugs blockchain-wallet-service 24 error Or if that isn't available, you can get their info via: 24 error npm owner ls blockchain-wallet-service 24 error There is likely additional logging output above. 25 verbose exit [ 1, true ]