Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requiring external module babel/register #726

Closed
nomadme opened this issue Jul 8, 2015 · 10 comments · Fixed by #727
Closed

Requiring external module babel/register #726

nomadme opened this issue Jul 8, 2015 · 10 comments · Fixed by #727

Comments

@nomadme
Copy link

nomadme commented Jul 8, 2015

After cloning and

npm install

and checking gulp -v, gives me babel-core/register is failing.

gulp -v
[13:42:46] Failed to load external module babel-core/register
[13:42:46] Requiring external module babel/register
[13:42:46] CLI version 3.9.0
[13:42:46] Local version 3.9.0

when I check

npm ls babel

└── babel@5.6.14

what am I doing wrong?

arthurvr added a commit to arthurvr/web-starter-kit that referenced this issue Jul 8, 2015
Run `npm install --global gulp` if gulp is still trying to load `babel/register` (instead of `babel-core/register`).

Fixes google#726
@arthurvr
Copy link
Contributor

arthurvr commented Jul 8, 2015

PR with a fix: #727

@timothylombrana
Copy link

When i run gulp serve i get this error:

Requiring external module babel-register

Im getting this error when I try to run npm ls label, and I have ran :
npm cache clean, npm unistall gulp , npm install -g gulp

$ npm ls babel
└── (empty)

npm ERR! code 1

Any idea's?

@andretf
Copy link

andretf commented Mar 16, 2016

try npm install --save-dev babel-register.

@andretf
Copy link

andretf commented Mar 16, 2016

also babel was renamed to babel-core, you should check with npm ls babel-core instead.

@HECTORkaizen
Copy link

I try with:
$ npm install --save-dev babel-register
and I put in console:
$ npm ls babel
the result is:
npm ERR! code 1
But when i try with:
$ npm ls babel-core
the message is:

-- babel-cli@6.6.5
   -- babel-core@6.7.4

@llwang8
Copy link

llwang8 commented Jun 17, 2016

I tried HECTORkaizen's method. all showing the same. But "gulp" still not working.
"Requiring external module babel-core/register"
Any more suggestion?

@cesards
Copy link

cesards commented Jul 9, 2016

@llwang8 same problem here :-/

#878

@darpanrangari
Copy link

same issue

Requiring external module babel-register
gulpfile.babel.js:26
import fs from 'fs';

@naimlatifi5
Copy link

Same issue!

@AfvanMoopen
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants