Gulp: Error: Requiring external module coffee-script/register

Created on 31 Oct 2016  路  8Comments  路  Source: gulpjs/gulp

When gulp starts up, it brings up this error: Requiring external module coffee-script/register. I looked around to solve this error, but have not been able to. I made sure coffee-script is local in node_modules and have tried different versions of node to see if that would nail it down.
So this happens before a Gulpfile.coffee is even loaded.
gulp 3.9.1 and npm 2.14.20

All 8 comments

Someone can correct me if I'm wrong but I'm pretty sure this is not an error. Gulp is just telling you it's using coffee-script/register to pre-compile your build scripts.

See here. No throw or error-related terms in sight, it's just logging it. ( unless of course it actually fails to load the module )

Yeah, not an error. Thanks @citycide for commenting.

Thanks for the clarification this is not an error but a statement. Perhaps the logging text could be changed to be less ambiguous?

@tkellen ^

@contra this is in gulp CLI, not liftoff. Also, it is red when it says "failed" but I think that is proper. The message from the original issue is a success and it is colored the same as the rest of the output. I see nothing to change here.

@phated @contra But what if it just said Loaded required module.. than there is no doubt about its meaning. For gulp newbies and non-natives like myself, it'll be very helpful.

How about:

`External module ${chalk.magenta(name)} loaded.`
chalk.red(`External module ${name} not found.`)

And in non-error messages no color with red in it, green? Neutral?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joe-watkins picture joe-watkins  路  5Comments

benlesh picture benlesh  路  3Comments

ssteinerx picture ssteinerx  路  3Comments

jonira picture jonira  路  3Comments

zellwk picture zellwk  路  3Comments