`npm bin` is removed in newer versions of NPM
sawyerh opened this issue ยท 0 comments
sawyerh commented
- 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