Skip to content

Failed to load external module babel-register #1631

Description

@mrchief

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions