-
Notifications
You must be signed in to change notification settings - Fork 236
Task runner does not use correct node version with nvm #1442
Comments
Thanks for the report. What version of Node were you using before the downgrade? Our CI builds with Node 14 on Mac without issues. |
Node is on v12.22.10. npm is on 6.14.16. I just tried it using Node v14.19.0 and npm v6.14.16 and I got the same error. |
Hmm, okay. What's the error message? I made some changes to the webpack configuration yesterday, but I don't see why that would be sensitive to Node version. |
Sorry for the late response. Was very busy yesterday. |
Thanks. Does it work if you run |
It did not. Is there a specific version of |
I had the almost same problem with
But after deleting all |
@austinoneil Are you using nvm by any chance? I've noticed that, even if I set a node version using |
@davidcooper1 yes, I am using nvm. |
Thanks all for the help! I'm renaming this issue to better reflect the discussion and will try to repro with nvm. |
@austinoneil what versions of
|
Reopening, #1461 likely does not fix this particular issue on Mac. |
The previous fix for linux #1461 does still fix the path issue to find gulp, but I've noticed a weird recurrence of gulp using a different node version. Not sure if I accidentally installed gulp globally using node 17 then ran with node 14 though. I fixed it locally for now, but I'll keep an eye out. |
This issue has been automatically marked as stale because it has been inactive for 30 days. To reactivate the issue, simply post a comment with the requested information to help us diagnose this issue. If this issue remains inactive for another 7 days, it will be automatically closed. |
This issue has been automatically closed due to inactivity. If you are still experiencing problems, please open a new issue. |
When building on OSX and running
gulp build
, it errors out on the webpack build stage. This seems to be resolved when downgrading node to version 11.15.0.The text was updated successfully, but these errors were encountered: