Skip to content
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

release 2.5.1 Node >18 incompatibility #337

Open
IliassB opened this issue Jun 18, 2024 · 2 comments
Open

release 2.5.1 Node >18 incompatibility #337

IliassB opened this issue Jun 18, 2024 · 2 comments

Comments

@IliassB
Copy link

IliassB commented Jun 18, 2024

I was on the 2.4.3 release and could use the package with no problems, when I upgraded to the latest release (2.5.1), I get the following error during installation.

error vuetify-pro-tiptap@2.5.1: The engine "node" is incompatible with this module. Expected version "^18.0.0". Got "20.11.1"
warning vuetify-pro-tiptap@2.5.1: The engine "pnpm" appears to be invalid.
error Found incompatible module.

I saw that the engine in package.json was changed:

Release 2.4.3

  "engines": {
    "node": ">=16",
    "pnpm": ">=7"
  },

Release 2.5.1

  "engines": {
    "node": "^18.0.0",
    "pnpm": "^8.0.0"
  },

Is there a particular reason for this change ?

@yikoyu
Copy link
Owner

yikoyu commented Jun 19, 2024

I guess you might be using yarn, pnpm and npm does not enable engine-strict by default.
This sentence is for renovate to now update dependencies to the latest version with pnpm and node.
The pnpm-lock.yaml will be forcibly upgraded to 9.0.
Before repository upgrading to pnpm V9, you can temporarily use:

yarn add vuetify-pro-tiptap --ignore-engines

Or if you have other locked versions of pnpm and node that renovate uses, you can tell me.

@IliassB
Copy link
Author

IliassB commented Jun 19, 2024

Indeed I do use yarn, in my case, using the ignore-engines option worked, when is it planned to upgrade to pnpm V9 ?

I can add the option in a .yarnrc to apply it by default for my project, but would rather keep this check in my dev environement.

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

No branches or pull requests

2 participants