Cannot find module babel-node
See original GitHub issueWhile running the installation instructions, I first ran into an issue where …/lib/cli wasn’t found. Globally installing “nodemon” solved that issue, but now I’m stuck on this one. I’d ask this in a chat but I don’t see any other means of contacting you all for assistance. 😃
PORT=8080 npm run dev
> express-es6-rest-api@0.3.0 dev /Volumes/Xenophoto/Dropbox/src/[redacted]
> nodemon -w src --exec "babel-node src --presets es2015,stage-0"
[nodemon] 1.10.0
[nodemon] to restart at any time, enter 'rs'
[nodemon] watching: /Volumes/Xenophoto/Dropbox/src/[redacted]/src/**/*
[nodemon] starting 'babel-node src --presets es2015,stage-0'
module.js:440
throw err;
^
Error: Cannot find module '../lib/babel-node'
at Function.Module._resolveFilename (module.js:438:15)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Volumes/Xenophoto/Dropbox/src/[redacted]/node_modules/.bin/babel-node:3:1)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
[nodemon] app crashed - waiting for file changes before starting...
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
WORKED FOR MEE TOO
Funky! Might have been a weird clone or something yeah. Glad it worked out 😊