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

npm bin is removed in newer versions of NPM #462

Closed
2 tasks done
sawyerh opened this issue May 21, 2024 · 0 comments
Closed
2 tasks done

npm bin is removed in newer versions of NPM #462

sawyerh opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@sawyerh
Copy link

sawyerh commented May 21, 2024

  • I have tried upgrading by running bundle update vite_ruby.
  • I have read the troubleshooting section before opening an issue.

Description πŸ“–

npm bin is used by vite_ruby, but it's no longer included in newer versions of NPM – it was deprecated in NPM version 9, in favor of npx or npm exec.

Reproduction 🐞

Please provide a link to a repo that can reproduce the problem you ran into.

Vite Ruby Info

Run bin/rake vite:info and provide the output:

bin/vite present?: true
vite_ruby: 3.5.0
vite_rails: 3.0.17
rails: 7.1.3.2
node: v20.12.0
npm: 10.5.0
yarn: 1.22.22
pnpm:
ruby: ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]

installed packages:
pfml@1.0.0 /Users/sawyer/Dev/Sites/pfml-starter-kit-app/pfml
β”œβ”€β”¬ vite-plugin-rails@0.5.0
β”‚ β”œβ”€β”¬ vite-plugin-environment@1.1.3
β”‚ β”‚ └── vite@5.2.11 deduped
β”‚ β”œβ”€β”¬ vite-plugin-ruby@5.0.0
β”‚ β”‚ └── vite@5.2.11 deduped
β”‚ └── vite@5.2.11 deduped
└── vite@5.2.11

Screenshots πŸ“·

image image
@sawyerh sawyerh added the bug: pending triage Something doesn't seem to be working, but hasn't been verified label May 21, 2024
@ElMassimo ElMassimo added bug Something isn't working help wanted Extra attention is needed and removed bug: pending triage Something doesn't seem to be working, but hasn't been verified labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants