저는 이것이 질문을 작성하는 끔찍한 방법이라는 것을 알고 있습니다. 그러나 몇 시간 동안이 작업을 해왔고 아무런 진전을 이루지 못했습니다. 모든 것이 어젯밤에 완벽하게 작동했습니다. 오늘 아침에 다시 시작한 앱 스토어의 업데이트가있었습니다. 이제는 npm 서버 (React.js를 배우려고합니다)가 작동하지 않습니다.webpack-dev-server에서 "npm start"오류가 발생했습니다.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
7 info lifecycle [email protected]~start: [email protected]
8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/FrankHarvey/Dropbox/react-practice/node_modules/.bin:/Users/FrankHarvey/anaconda2/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
10 verbose lifecycle [email protected]~start: CWD: /Users/FrankHarvey/Dropbox/react-practice
11 silly lifecycle [email protected]~start: Args: [ '-c', 'webpack-dev-server' ]
12 silly lifecycle [email protected]~start: Returned: code: 1 signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: `webpack-dev-server`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at EventEmitter.emit (events.js:172:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at ChildProcess.emit (events.js:172:7)
14 verbose stack at maybeClose (internal/child_process.js:829:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/FrankHarvey/Dropbox/react-practice
17 error Darwin 16.3.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
19 error node v4.6.1
20 error npm v4.0.5
21 error code ELIFECYCLE
22 error [email protected] start: `webpack-dev-server`
22 error Exit status 1
23 error Failed at the [email protected] start script 'webpack-dev-server'.
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 react-essential package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error webpack-dev-server
23 error You can get information on how to open an issue for this project with:
23 error npm bugs react-essential
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls react-essential
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
나는 시도했다 : :
- 전환 포트
- 되돌리기 자식이
sudo
아무도 일하지 않은 실행 다시 설치 노드를 저지른 여기 내 오류 로그입니다.
'npm install'을 실행 해보십시오. 모듈이 설치되지 않은 것 같습니다. – lux