Fresh Node v4.4.3 and npm v3.x install.
> gulp -v
[14:55:49] Failed to load external module babel-register
[14:55:49] Requiring external module babel-core/register
[14:55:49] CLI version 3.9.1
[14:55:49] Local version 3.9.1
This only happens if the local folder has a gulpfile.babel.js. package.json has these installed:
"babel-core": "^6.7.7",
"babel-preset-es2015": "^6.6.0",
"babel-preset-stage-0": "^6.5.0",
.babelrc
{
"presets": ["es2015", "stage-0"]
}
I even tried require('babel-core/register'); in gulpfile.babel.js but no luck.
Not sure how to fix this.
Fresh Node v4.4.3 and npm v3.x install.
This only happens if the local folder has a
gulpfile.babel.js.package.jsonhas these installed:.babelrcI even tried
require('babel-core/register');ingulpfile.babel.jsbut no luck.Not sure how to fix this.