ошибка npm_start 17 Darwin 15.6.0

#angularjs #node.js #npm

#angularjs #node.js #нпм

Вопрос:

Пытаюсь запустить устаревший проект angular-cli и получаю приведенную ниже ошибку. Я как бы в недоумении, чтобы отладить это. Я пробовал ‘sudo’ и удаление каталога node_modules, но получаю ту же ошибку. Может кто-нибудь указать мне правильное направление в этом? Спасибо

 MacBook-Air:hello-world-ui user$ cat npm-debug.log 
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@3.10.6
3 info using node@v4.4.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle hello-world@0.0.0~prestart: hello-world@0.0.0
6 silly lifecycle hello-world@0.0.0~prestart: no script for prestart, continuing
7 info lifecycle hello-world@0.0.0~start: hello-world@0.0.0
8 verbose lifecycle hello-world@0.0.0~start: unsafe-perm in lifecycle true
9 verbose lifecycle hello-world@0.0.0~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/user/Desktop/hello-world-ui/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin/gcc:/usr/local/git/bin:/usr/local/bin/gradle-2.7/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/bin/java:/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/bin/javac
10 verbose lifecycle hello-world@0.0.0~start: CWD: /Users/user/Desktop/hello-world-ui
11 silly lifecycle hello-world@0.0.0~start: Args: [ '-c', 'ng server' ]
12 silly lifecycle hello-world@0.0.0~start: Returned: code: 1  signal: null
13 info lifecycle hello-world@0.0.0~start: Failed to exec start script
14 verbose stack Error: hello-world@0.0.0 start: `ng server`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255: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:827:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid hello-world@0.0.0
16 verbose cwd /Users/user/Desktop/hello-world-ui
17 error Darwin 15.6.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
19 error node v4.4.0
20 error npm  v3.10.6
21 error code ELIFECYCLE
22 error hello-world@0.0.0 start: `ng server`
22 error Exit status 1
23 error Failed at the hello-world@0.0.0 start script 'ng 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 hello-world package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ng server
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs hello-world
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls hello-world
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]