Skip to content

vue create is broken with node version that doesn't respect "^12.22.0 || ^14.17.0 || >=16.0.0". #6567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nicotu01 opened this issue Jul 2, 2021 · 4 comments

Comments

@nicotu01
Copy link

nicotu01 commented Jul 2, 2021

Version

4.5.12

Environment info

Environment Info:

  System:
    OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa)
    CPU: (8) x64 Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz
  Binaries:
    Node: 14.13.0 - ~/.nvm/versions/node/v14.13.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v14.13.0/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v14.13.0/bin/npm
  Browsers:
    Chrome: 84.0.4147.89
    Firefox: 83.0
  npmGlobalPackages:
    @vue/cli: 4.5.8

Steps to reproduce

vue create app

What is expected?

succesfully create project

What is actually happening?

error [email protected]: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.13.0"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Found incompatible module.
ERROR command failed: yarn

@nicotu01 nicotu01 changed the title vue create is broken vue create is broken with node version that doesn't respect "^12.22.0 || ^14.17.0 || >=16.0.0". Jul 2, 2021
@lemonKun
Copy link

lemonKun commented Jul 2, 2021

vue 3.1.3 version broken,
use vue: ~3.0.0 in package.js temporarily

@haoqunjiang
Copy link
Member

haoqunjiang commented Jul 2, 2021

Workaround:

Create a .yarnrc file in the project root, with the following content:

--install.ignore-engines true

Needs to be fixed in upstream: vuejs/vue-eslint-parser#112

@haoqunjiang
Copy link
Member

Fixed in [email protected]

@nicotu01
Copy link
Author

nicotu01 commented Jul 2, 2021

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants