-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
Dependency of Gulp 3.9.1 causes error in Node 10 #882
Comments
Per @alexweissman, I have used a workaround and I've confirmed it worked. Add |
Hum... https://www.npmjs.com/package/graceful-fs/v/3.0.11
Anayway... According to |
Possibly, but without this hack, I can't compile assets. |
I'd wager that the offending dependency is still hidden away but not used. Likely the addition of the dependency gives whatever is using it a newer version to use (that doesn't conflict with its semver range). Probably a dependency wanting Of course, its entirely plausible a bug in NPM is causing this to resolve to an older version. Wouldn't be the first time. Hard to say without looking further though. |
I tried to replicate any issue with assets on a fresh Homestead box and everything seems to work fine. Fresh UF master clone, tried with node 8 and 10.1.0 When running I also checked the dependencies tree in |
I tried setting up a fresh install of UF with Node 7. Running When I upgraded to Node 10 and then ran Deleting It would appear that It's also worth noting that Node 10 is not yet officially recommended on the Node.js website - rather, as the LTS version, 8.11.1 is recommended for most users. My takeaways from this issue are as follows:
|
Work that will hopefully land in 4.2 should push us up to gulp v4 which will resolve the issue. As for the 4.1 line, adding the newer version of natives seems to resolve this reliably enough so I'll see about getting it into a hotfix. |
delete yarn.lock and node_modules,use yarn command reinstall solve my problem. |
@zhangshuzhen Guessing you were using Yarn over npm. Effect is the same, it forced the package manager to completely rebuild the dependency tree. Does hint at something weird happening in the package managers though, because they should be able to resolve this problem themselves. Changes mentioned before have landed in |
|
There is a problem with
[email protected]
that is resolved by manually switching over to[email protected]
. See https://forums.userfrosting.com/t/upgrade-to-node-v10-generates-errors/281:npm ls
shows the relevant dependency trace:So, it seems like we are accumulating more and more problems related to Gulp 3.9.1.
The text was updated successfully, but these errors were encountered: