当前位置: 首页 > 工具软件 > React-Admin > 使用案例 >

npm ERR! react-admin-client@0.1.0 start: `react-app-rewired start`

庄高谊
2023-12-01

报错内容

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-admin-client@0.1.0 start: react-app-rewired start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-admin-client@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2020-03-16T09_55_26_030Z-debug.log

日志内容:(D:\nodejs\node_cache_logs\2020-03-16T09_55_26_030Z-debug.log)

/*
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli ‘D:\nodejs\node.exe’,
1 verbose cli ‘D:\nodejs\node_modules\npm\bin\npm-cli.js’,
1 verbose cli ‘start’
1 verbose cli ]
2 info using npm@6.13.4
3 info using node@v12.16.1
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle react-admin-client@0.1.0~prestart: react-admin-client@0.1.0
6 info lifecycle react-admin-client@0.1.0~start: react-admin-client@0.1.0
7 verbose lifecycle react-admin-client@0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle react-admin-client@0.1.0~start: PATH: D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\cz\Desktop\Sample-manage-platform\react-admin-client\node_modules.bin;C:\Python27;C:\Python27\Scripts;D:\WORK\apache-maven-3.6.1\bin;C:\Program Files\tomcat8\bin;D:\学习\UML工具\Common;D:;ongoDB\bin;“C:\WINDOWS\system32;”;D:\nodejs;C:\ProgramData\chocolatey\bin;D:\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Users\cz\AppData\Local\Microsoft\WindowsApps;C:\Users\cz\AppData\Local\Programs\Microsoft VS Code\bin;D:\学习\PyCharm 2019.1.2\bin;;C:\Program Files\tomcat8\bin;D:\MongoDB\bin;D:\WebStrom\WebStorm 2019.3.3\bin;;D:\IntelliJ IDEA Educational Edition 2019.3.2\bin;;D:\DataGrip 2019.3.3\bin;;D:\nodejs\node_global;C:\Windows\System32;C:\WINDOWS\system32;
9 verbose lifecycle react-admin-client@0.1.0~start: CWD: C:\Users\cz\Desktop\Sample-manage-platform\react-admin-client
10 silly lifecycle react-admin-client@0.1.0~start: Args: [ ‘/d /s /c’, ‘react-app-rewired start’ ]
11 silly lifecycle react-admin-client@0.1.0~start: Returned: code: 1 signal: null
12 info lifecycle react-admin-client@0.1.0~start: Failed to exec start script
13 verbose stack Error: react-admin-client@0.1.0 start: react-app-rewired start
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:311:20)
13 verbose stack at ChildProcess. (D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:311:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid react-admin-client@0.1.0
15 verbose cwd C:\Users\cz\Desktop\Sample-manage-platform\react-admin-client
16 verbose Windows_NT 10.0.18363
17 verbose argv “D:\nodejs\node.exe” “D:\nodejs\node_modules\npm\bin\npm-cli.js” “start”
18 verbose node v12.16.1
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error react-admin-client@0.1.0 start: react-app-rewired start
22 error Exit status 1
23 error Failed at the react-admin-client@0.1.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
*/

不知道是什么原因

2020-06-01更新:
还是npm install。。。。。。。
还有
儿童节快乐! :)

 类似资料: