GithubHelp home page GithubHelp logo

error [email protected]: The engine "node" is incompatible with this module. Expected version "^20". Got "18.18.2" vercel about nanopop HOT 14 CLOSED

simonwep avatar simonwep commented on June 24, 2024 3
error [email protected]: The engine "node" is incompatible with this module. Expected version "^20". Got "18.18.2" vercel

from nanopop.

Comments (14)

elvisWEB avatar elvisWEB commented on June 24, 2024 6

依赖这么高,你在搞什么飞机

The reliance is so high, what kind of plane are you doing?

from nanopop.

sea-yu avatar sea-yu commented on June 24, 2024 4

Hello, I encountered the same problem. Can the author remove the restriction of node > 20? Thanks!!!

from nanopop.

hc9527 avatar hc9527 commented on June 24, 2024 2

依赖这么高,你在搞什么飞机

from nanopop.

evalienigena avatar evalienigena commented on June 24, 2024 1

Hey there, I had a similar problem.

I'm using AWS Amplify to deploy my app and the same error popped up. I'm using yarn as a package manager.
In my case, I went to my app's Build Settings in Amplify and added the option --ignore-engines to my build command. The full command would be yarn install --ignore-engines.

I think that you can update your build command similarly on Vercel (check: https://vercel.com/docs/deployments/configure-a-build).

Hope this helps! 😄

from nanopop.

smalldice avatar smalldice commented on June 24, 2024 1

你只支持node20以上你发个major版本啊 发个毛的minor

from nanopop.

smalldice avatar smalldice commented on June 24, 2024 1

Why don't you publish a MAJOR version for this breaking change???

"engines": {
      "node": "^20"
},

from nanopop.

sea-yu avatar sea-yu commented on June 24, 2024 1

First sorry for my poor English,The following is translated using translation software。
Let me talk about why I encountered this problem. My company's many old project(using vue2) relied on ant design vue 1, and he relied on pickr 1.7.4. It used ~2.1.0 and will download the latest 2.4.0. Because this is an old project, it used node 16, not node 20, which led to the failure of compiling today's project in the case of downloading dependencies.

Of course, it can be solved by improving the version of node, but this will certainly impact many old projects and bring instability and many other potential problems, so the better solution is to modify the content here.

from nanopop.

clinton9ice avatar clinton9ice commented on June 24, 2024

Hi @evalienigena thanks. I was able to make a temporary fix by upgrading my node version on vercel to 20 but however i don't think it's idealistic since node 20 is still in beta mode, what do you think ?

from nanopop.

MechaGirls avatar MechaGirls commented on June 24, 2024

[email protected]: The engine "node" is incompatible with this module. Expected version "^20". Got "16.15.0"

搞什么飞机✈️,nodejs版本需要这么高

from nanopop.

S-mohan avatar S-mohan commented on June 24, 2024

This update, bad reviews

from nanopop.

shawn-web avatar shawn-web commented on June 24, 2024

同样的问题,大家有解决办法没?

from nanopop.

LetTTGACO avatar LetTTGACO commented on June 24, 2024

同样的问题,大家有解决办法没?

package.json 锁定上一个版本?

from nanopop.

simonwep avatar simonwep commented on June 24, 2024

Node v20 is the current LTS version. Either upgrade your node version or use a previous version of nanopop. Not sure why so many of you have problems with it, don't y'all use fixed versions? And node v20 is not in beta, it's the current LTS.

But I can remove the engine restriction since it only matters for development if you have good reasons for it...

from nanopop.

simonwep avatar simonwep commented on June 24, 2024

I'll revert the change of fixing the engine, just keep in mind that being affected by any new release of one of your dependencies is a clear sign that you're doing something wrong in your dependency management. You should take care of that, see axios/axios#5026

from nanopop.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.