Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

456
Views
Error during migration from npm to yarn - The engine "node" is incompatible with this module

in my project I am trying to migrate from npm to yarn.

I simply ran the "yarn" command to generate the "yarn.lock".

During the process, it showed me the following error:

error linearicons@1.0.2: The engine "node" is incompatible with this module.

Expected version "^12.13.0". Got "10.19.0" error Found incompatible module.

So I ran the command "npm remove linearicons" then "yarn" to generate the "yarn.lock" without error, then "yarn add linearicons". But it gives me the same error as above.

My Yarn version is 1.22.10

Node version : v10.19.0

What could I do to fix this problem? I don't understand what he wants

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Update the node.js version :

Installation of nvm

$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
$ source ~/.bashrc

Looking for existent versions of node.js

$ nvm ls-remote

Installation of the last one (as of today)

$ nvm install v16.8.0

After that your issue should be fixed.

over 4 years ago · Santiago Trujillo Report

0

yarn install --ignore-engines

This worked for me, and it was showing this error:

 webpack-dev-server@4.5.0: The engine "node" is incompatible with this module. Expected version ">= 12.13.0". Got "10.19.0"

Final result after --ignore-engines

success Saved lockfile.
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!