Does not support NodeJs 10.
I've the same issue please fix 馃槩,
I don't want to downgrade my nodejs version.
yarn install --ignore-engines
lerna.json:
"npmClient": "yarn",
"npmClientArgs": ["--ignore-engines"],
.yarnrc
--ignore-engines true
@Oceanswave what is lerna.json
? 馃榾
I'm not able to add any packages after upgraded to node 10.
$ yarn --verbose add uuid
yarn add v1.6.0
(node:5003) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
verbose 0.261 Checking for configuration file "/tmp/app/.npmrc".
verbose 0.261 Checking for configuration file "/Users/[user]/.npmrc".
verbose 0.261 Checking for configuration file "/usr/local/etc/npmrc".
verbose 0.261 Checking for configuration file "/tmp/app/.npmrc".
verbose 0.262 Checking for configuration file "/tmp/.npmrc".
verbose 0.263 Checking for configuration file "/tmp/app/.yarnrc".
verbose 0.263 Checking for configuration file "/Users/[user]/.yarnrc".
verbose 0.263 Found configuration file "/Users/[user]/.yarnrc".
verbose 0.263 Checking for configuration file "/usr/local/etc/yarnrc".
verbose 0.263 Checking for configuration file "/tmp/app/.yarnrc".
verbose 0.263 Checking for configuration file "/tmp/.yarnrc".
verbose 0.264 Found configuration file "/Users/[user]/.yarnrc".
verbose 0.264 Checking for configuration file "/Users/.yarnrc".
verbose 0.265 current time: 2018-04-27T05:11:53.672Z
[1/4] 馃攳 Resolving packages...
verbose 0.401 Performing "GET" request to "https://registry.yarnpkg.com/uuid".
verbose 0.545 Request "https://registry.yarnpkg.com/uuid" finished with status code 200.
[2/4] 馃殮 Fetching packages...
[#################################################################################################################################################################################################################################] 834/835Q
The process died after fetching packages, there is no yarn errors file generated.
Tried --ignore-engines
, didn't work.
Filed a separate issue for this error: #5761
Same here, can't build with travis-ci on stable
node 10.
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9".
@sanex3339 that is an issue of upath
, not of yarn
yarn works fine on Node 10
+1 on Yarn & Node 10 working fine, the only issue I've seen is the upath
issue, which I resolved by upgrading chokidar
.
@sanex3339
You can fix this by re-installing:
rm -rf node_modules/
rm yarn.lock
yarn install
This will use upath 1.0.5
which resolves the issue
Yarn also has some clean up to do, which is tracked in #5477. Closing in favor of that.
@markdavies Do you know yarn.lock
exists for a reason? It's not just that file which you delete whenever there's a mysterious problem.
I had this issue after upgrading Yarn. Opening a new terminal window fixed it.
Any progress on this?
@oshalygin this issue is closed; what progress are you looking for? The error message is caused by an older version of upath
and upgrading fixes the problem. Is there something missing?
@oshalygin If you don't use upath
and you are receiving this error, probably a dependency you have is using it, so indirectly you still have it installed.
What I'm doing to solve it on my projects is to just open up the yarn.lock
file and delete the upath
portion. That way, yarn
will see that there is a dependency not present inside yarn.lock
and install the latest version needed for it (a.k.a. the version with this problem solved).
No worries, as far as I noticed, the rest of the yarn.lock
dependency versions remain the same.
Please, 馃敀 this issue. Can you @torifat?
i opened it, but i cannot lock it
Locked. Please follow #5477.
Most helpful comment
@sanex3339
You can fix this by re-installing:
rm -rf node_modules/
rm yarn.lock
yarn install
This will use
upath 1.0.5
which resolves the issue