I follows your step,every step is oK,But run:npm run start , it did't work;
and throw errors like this,please give me some help^=^
0 info it worked if it ends with ok
1 verbose cli [ 'E:\nodejs\node.exe',
1 verbose cli 'E:\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'start' ]
2 info using npm@3.10.3
3 info using node@v6.3.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle reactTest@1.0.0prestart: reactTest@1.0.0
6 silly lifecycle reactTest@1.0.0prestart: no script for prestart, continuing
7 info lifecycle reactTest@1.0.0start: reactTest@1.0.0
8 verbose lifecycle reactTest@1.0.0start: unsafe-perm in lifecycle true
9 verbose lifecycle reactTest@1.0.0start: PATH: E:\nodejs\node_modules\npm\bin\node-gyp-bin;I:\project\nodejsproject\react\reactTest\node_modules.bin;E:\nodejs;i:\server\imagemagick-6.2.7-q16;G:\Windows\system32;G:\Windows;G:\Windows\System32\Wbem;G:\Windows\System32\WindowsPowerShell\v1.0;G:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;E:\nodejs;E:\TortoiseSVN\bin;E:\Git\cmd;E:\TortoiseGit\bin;E:\SecureFX;E:\ImageMagick-7.0.2-Q16;E:\Python\Python36;I:\server\ImageMagick-6.2.7-Q16;G:\Program Files\Microsoft SQL Server\110\Tools\Binn;G:\Windows\system32\config\systemprofile.dnx\bin;G:\Program Files\Microsoft DNX\Dnvm;I:\server\memcached;G:\Users\Administrator\AppData\Roaming\npm
10 verbose lifecycle reactTest@1.0.0start: CWD: I:\project\nodejsproject\react\reactTest
11 silly lifecycle reactTest@1.0.0start: Args: [ '/d /s /c',
11 silly lifecycle 'if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev' ]
12 silly lifecycle reactTest@1.0.0start: Returned: code: 1 signal: null
13 info lifecycle reactTest@1.0.0~start: Failed to exec start script
14 verbose stack Error: reactTest@1.0.0 start: if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (E:\nodejs\node_modules\npm\lib\utils\lifecycle.js:242:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (E:\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:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid reactTest@1.0.0
16 verbose cwd I:\project\nodejsproject\react\reactTest
17 error Windows_NT 6.1.7601
18 error argv "E:\nodejs\node.exe" "E:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "start"
19 error node v6.3.1
20 error npm v3.10.3
21 error code ELIFECYCLE
22 error reactTest@1.0.0 start: if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev
22 error Exit status 1
23 error Failed at the reactTest@1.0.0 start script 'if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the reactTest package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev
23 error You can get information on how to open an issue for this project with:
23 error npm bugs reactTest
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls reactTest
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
I follows your step,every step is oK,But run:npm run start , it did't work;
and throw errors like this,please give me some help^=^
0 info it worked if it ends with ok
1 verbose cli [ 'E:\nodejs\node.exe',
1 verbose cli 'E:\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'start' ]
2 info using npm@3.10.3
3 info using node@v6.3.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle reactTest@1.0.0
prestart: reactTest@1.0.0prestart: no script for prestart, continuing6 silly lifecycle reactTest@1.0.0
7 info lifecycle reactTest@1.0.0
start: reactTest@1.0.0start: unsafe-perm in lifecycle true8 verbose lifecycle reactTest@1.0.0
9 verbose lifecycle reactTest@1.0.0
start: PATH: E:\nodejs\node_modules\npm\bin\node-gyp-bin;I:\project\nodejsproject\react\reactTest\node_modules.bin;E:\nodejs;i:\server\imagemagick-6.2.7-q16;G:\Windows\system32;G:\Windows;G:\Windows\System32\Wbem;G:\Windows\System32\WindowsPowerShell\v1.0;G:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;E:\nodejs;E:\TortoiseSVN\bin;E:\Git\cmd;E:\TortoiseGit\bin;E:\SecureFX;E:\ImageMagick-7.0.2-Q16;E:\Python\Python36;I:\server\ImageMagick-6.2.7-Q16;G:\Program Files\Microsoft SQL Server\110\Tools\Binn;G:\Windows\system32\config\systemprofile.dnx\bin;G:\Program Files\Microsoft DNX\Dnvm;I:\server\memcached;G:\Users\Administrator\AppData\Roaming\npmstart: CWD: I:\project\nodejsproject\react\reactTest10 verbose lifecycle reactTest@1.0.0
11 silly lifecycle reactTest@1.0.0
start: Args: [ '/d /s /c',start: Returned: code: 1 signal: null11 silly lifecycle 'if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev' ]
12 silly lifecycle reactTest@1.0.0
13 info lifecycle reactTest@1.0.0~start: Failed to exec start script
14 verbose stack Error: reactTest@1.0.0 start:
if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (E:\nodejs\node_modules\npm\lib\utils\lifecycle.js:242:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (E:\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:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid reactTest@1.0.0
16 verbose cwd I:\project\nodejsproject\react\reactTest
17 error Windows_NT 6.1.7601
18 error argv "E:\nodejs\node.exe" "E:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "start"
19 error node v6.3.1
20 error npm v3.10.3
21 error code ELIFECYCLE
22 error reactTest@1.0.0 start:
if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev22 error Exit status 1
23 error Failed at the reactTest@1.0.0 start script 'if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the reactTest package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev
23 error You can get information on how to open an issue for this project with:
23 error npm bugs reactTest
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls reactTest
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]