-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I get the following message when entering "npm run server" into the terminal. Thoughts?
- message in terminal:
sh: babel-node: command not found
... - message in npm debug:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'server' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preserver', 'server', 'postserver' ]
5 info preserver [email protected]
6 info server [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec server script
9 verbose stack Error: [email protected] server:babel-node src/backend/app.js
9 verbose stack spawn ENOENT
9 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:17:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:818:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd /Users/KRM-MacBookPro/Copy/_projects/_experiments/react-functional-drboolean/classroom-coding
12 error Darwin 15.2.0
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "server"
14 error node v4.2.3
15 error npm v2.14.7
16 error file sh
17 error code ELIFECYCLE
18 error errno ENOENT
19 error syscall spawn
20 error [email protected] server:babel-node src/backend/app.js
20 error spawn ENOENT
21 error Failed at the [email protected] server script 'babel-node src/backend/app.js'.
Metadata
Metadata
Assignees
Labels
No labels