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

Does not install on non v20 node versions #214

Closed
4 tasks done
bhvngt opened this issue May 5, 2024 · 3 comments · Fixed by #215
Closed
4 tasks done

Does not install on non v20 node versions #214

bhvngt opened this issue May 5, 2024 · 3 comments · Fixed by #215
Labels

Comments

@bhvngt
Copy link

bhvngt commented May 5, 2024

Describe the bug

While upgrading this package on node v22, I get following error

Your Node version is incompatible with "[email protected]"..

I believe this is happening because of following line in package.json

"node": "^20.12.2"

You may want to change this to >=^20.12

Reproduction

NA

Steps to reproduce

pnpm install vite-plugin-instanbul

System Info

System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 261.92 MB / 32.00 GB
    Shell: 3.7.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 22.1.0 - ~/Library/pnpm/node
    Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/4327_1713977399534/bin/yarn
    npm: 10.7.0 - ~/Library/pnpm/npm
    pnpm: 9.0.6 - ~/Library/pnpm/pnpm
    bun: 1.1.3 - /opt/homebrew/bin/bun
  Browsers:
    Brave Browser: 124.1.65.126
    Chrome: 124.0.6367.119
    Chrome Canary: 126.0.6460.0
    Safari: 17.4.1

Used Package Manager

pnpm

Logs

Your Node version is incompatible with "[email protected]".

Expected version: ^20.12.2
Got: v22.1.0

This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.

Validations

@bhvngt bhvngt added the bug Something isn't working label May 5, 2024
@iFaxity
Copy link
Owner

iFaxity commented May 5, 2024

Hi @bhvngt, i see. Didn't think it would show up on installs but i'll remove it with a bugfix release in a little bit.

iFaxity added a commit that referenced this issue May 5, 2024
Removed node from engines specification to prevent error on install.
Fixes #214.
iFaxity added a commit that referenced this issue May 5, 2024
Removed node from engines specification to prevent error on install.
Fixes #214.
Copy link
Contributor

github-actions bot commented May 5, 2024

🎉 This issue has been resolved in version 6.0.2-rc.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

github-actions bot commented May 5, 2024

🎉 This issue has been resolved in version 6.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants