-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Description
Installation failed on node@8.9.3
yarn add urllib
yarn add v1.21.1
info No lockfile found.
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
[2/4] Fetching packages...
error socks@2.6.1: The engine "node" is incompatible with this module. Expected version ">= 10.13.0". Got "8.9.3"
error Found incompatible module.
This may be because
fix: upgrade proxy-agent to fix the security vulnerability
Cause breakthrough change
Our old project use ali-oss@^4.6.3 on node@8.9.3, dependencies urllib@^2.17.1
Due to the wrong version number, it cannot be used when updating as a module
yarn add ali-oss@^4.6.3
yarn add v1.21.1
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
error socks@2.6.1: The engine "node" is incompatible with this module. Expected version ">= 10.13.0". Got "8.9.3"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
## can ignore the engine to view the 'yarn.lock' dependency
# yarn add ali-oss@^4.6.3 --ignore-engines
Therefore, you may need to republish it twice. The repaired 2.*.* can be used, and the new 3.*.* can be published
Metadata
Metadata
Assignees
Labels
No labels