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

[BUG] gulp dependencies are broken with 6.14.0 and old node.js (6.11.0) #952

Closed
coffee-lover16 opened this issue Feb 26, 2020 · 6 comments
Closed
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release

Comments

@coffee-lover16
Copy link

coffee-lover16 commented Feb 26, 2020

What / Why

Having 6.14.0 npm and old node.js versions (6.11) I can't run simple gulp task (it works with older npm versions like 6.8.0 or 6.9.0)

When

By running simple gulp task

Where

It fails during gulp task executing (log attached)

module.js:471
throw err;
^ Error: Cannot find module 'source-map'
at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (C:\git\test3\node_modules\snapdragon\lib\utils.js:8:21) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)

How

Current Behavior

  • Running simple gulp task is failed

Steps to Reproduce

  • Add package.json and gulp.js files (please find them in the attachment)
    npm_issue.zip
  • run npm install
  • run npm run start

Expected Behavior

  • Gulp task should be proceeded without errors
@ljharb
Copy link
Collaborator

ljharb commented Feb 26, 2020

The latest version of npm that works on node v6.0/v6.1 is v6.9, but as far as I know every other node 6 version works with the latest npm version.

@coffee-lover16
Copy link
Author

@ljharb , thanks for reply!

Is there any place/link I can refer that the latest version of npm for node.js 6.11 is v6.9? So I can close a ticket because it works as designed

@ljharb
Copy link
Collaborator

ljharb commented Feb 26, 2020

You misunderstand; i said node v6.0 and v6.1 - v6.eleven should work fine.

@coffee-lover16
Copy link
Author

Ah, got it. I thought other then 6.1x. Thanks for clarification with that!

@leemethvenmtc
Copy link

Also encountering this issue, try lots of different things as well as trying to install source-map individually but no luck, exact same error as @Eugenio161288

@darcyclarke darcyclarke added Release 6.x work is associated with a specific npm 6 release Bug thing that needs fixing labels Oct 30, 2020
@darcyclarke
Copy link
Contributor

npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.

If your bug is preproducible on v7, please re-file this issue using our new issue template.

If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo

Closing: This is an automated message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release
Projects
None yet
Development

No branches or pull requests

4 participants