Failed to load external module babel-register
If you initiate a new app with gulp, after gulp serve, the first line is an error saying:
Failed to load external module babel-register
Then the app starts up fine, will it have any further effects? The options I made during the setup are:
- Babel
- Jade
- Sass
- ngRoute
- Include Bootstrap
- Include UI Bootstrap
- Data Modeler: None
- Gulp
- Jasmine
I'm on Mac, El Capitan
I am experiencing the same thing. Babel HTML Sass uiRouter BS UIB Mongo Gulp Mocha + Chai + Sinon
Do you guys have babel 6 installed globally? I think that's what causes it. I still haven't upgraded to Babel 6 because of issues I had with the first initial versions of it, but those are probably fixed by now.
I do not.
➜ project git:(develop) npm list -g --depth=0 /Users/user/.nvm/versions/node/v5.6.0/lib ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected]
➜ project git:(develop) node --version v5.6.0 ➜ project git:(develop) npm -v 3.6.0
➜ project git:(develop) gulp build [18:37:14] Failed to load external module babel-register [18:37:14] Requiring external module babel-core/register [18:37:15] Using gulpfile ~/Documents/projects/project/gulpfile.babel.js
IIRC babel-register is the new way to run a Node.js require hook, and babel-core/register is the old way
Thanks. Should this just be ignored?
@timothystewart6 yeah, if it can't register with one method, but can with another, yeah it's fine.