Today, an error was reported when installing the dependency using yarn install. After consulting the online resources, the problem was solved. Here is a record.
The error content is as follows: no matching version was found
D:\Web Storm-Workspace\xxxx>yarn install
yarn install v1.22.15
[1/6] Validating package.json...
[2/6] Resolving packages...
[3/6] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility ch
eck. Excluding it from installation.
error [email protected]: The engine "node" is incompatible with this module.
Expected version "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0". Got "14.8
.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about
this command.
Enter the following line of code: yarn config set ignore – engines true
The problem is solved.
D:\Web Storm-Workspace\xxxx>yarn config set ignore
-engines true
yarn config v1.22.15
success Set "ignore-engines" to "true".
Done in 0.11s.
Re-execute yarn Install, you will find that yarn is successfully installed!!!
Read More:
- [Solved] error [email protected]: The engine “node” is incompatible with this module.
- Puppeteer Error: Chromium revision is not downloaded. Run “npm install“ or “yarn install“
- Yarn install error: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘install‘
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- How to Solve Yarn environment installation dependency error: (info [email protected])
- Postgis Install Error: could not load library “C:\……“:The specified module could not be found.
- [Solved] Installation failed due to: ‘INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.
- Error Report of Yarn Create UMI
- [Solved] yarn error ExitCodeException exitCode=127
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in…
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- Yarn add package loading error: operation not permitted, unlink …
- How to Solve “/usr/bin/ld: skipping incompatible”
- [Solved] Exception in thread “main“ org.apache.spark.SparkException: When running with master ‘yarn‘ either
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- Solution: from. Import ft2font importerror: DLL load failed: the specified module cannot be found
- /usr/bin/ld: skipping incompatible Error [How to Fix]
- [Solved] MindSpore Error: Select GPU kernel op * fail! Incompatible data type
- [Solved] Neo4j Error: Error occurred during initialization of VM Incompatible minimum and maximum heap sizes spec