question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Requiring external module babel-register takes a long time

See original GitHub issue

I am new to gulp, whenever I run gulp SOME_TASK it says “require external module babel-register”. This takes a solid 20 seconds or so. The actual task takes milliseconds to complete.

What is happening here? How do I fix it? What is this babel-register?

I tried npm install babel-register and also tried installing npm3. It did not fix the problem.

I followed this youtube tutorial series, this guys does the same thing a bit differently than what we are doing. The task completes in microseconds.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
redblobgamescommented, Aug 26, 2017

We haven’t been using gulp for a few months now so I’m closing this. We can re-open if we start using gulp again and run into the problem.

0reactions
redblobgamescommented, May 2, 2017

@Ghost---Shadow Oh, you’re right, I shouldn’t have closed this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"require external module babel-register" takes long time to ...
I am new to gulp, whenever I run gulp SOME_TASK it says "require external module babel-register". This takes a solid 20 seconds or...
Read more >
Requiring external module @babel/register #139 - GitHub
You have the same problem as me and I didn't find the time to fix it yet and it can take up to...
Read more >
require external module babel-register" takes long time to ...
Coding example for the question "require external module babel-register" takes long time to execute-babel.js.
Read more >
babel/register - Babel.js
@babel/register uses Node's require() hook system to compile files on the fly when they are loaded. While this is quite helpful overall, it...
Read more >
Babel modules - Allevamento di Casa Lopresti
This Babel plugin finds all requires for css module files and replace them with ... 2020 · 2 thoughts on “ Failed to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found