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

yarn 3 Missing Executable #405

Open
2 tasks done
trisys3 opened this issue Sep 26, 2023 · 0 comments
Open
2 tasks done

yarn 3 Missing Executable #405

trisys3 opened this issue Sep 26, 2023 · 0 comments
Labels
bug: pending triage Something doesn't seem to be working, but hasn't been verified

Comments

@trisys3
Copy link

trisys3 commented Sep 26, 2023

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

Description 📖

Provide a clear and concise description of what the bug is.

In yarn 2-3, there is a new Plug'n'Play mode to install packages outside of node_modules/. vite-plugin-ruby doesn't seem compatible with this mode. I always get the missing executable error, which I do not receive with the normal, node-modules mode.

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:


Logs 📜

If not providing a reproduction:

package.json

{
    "devDependencies": {
        "vite": "^4.4.0",
        "vite-plugin-ruby": "^3.2.0"
    }
}

.yarnrc.yml

# # Instead of:
# nodeLinker: node-modules
nodeLinker: pnp
Output

Run DEBUG=vite-plugin-ruby:* bin/vite dev or DEBUG=vite-plugin-ruby:* bin/vite build and provide the output:

$ yarn set version 3.6.3
$ yarn install
$ ./bin/vite info
bin/vite present?: true
vite_ruby: 3.3.4
vite_rails: 3.0.15
rails: 7.0.4.2
node: v20.5.1
npm: 10.1.0
yarn: 3.6.3
pnpm: 
ruby: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]

❌ Check that vite and vite-plugin-ruby have been added as development dependencies and installed.
$

Screenshots 📷

Provide console or browser screenshots of the problem.

@trisys3 trisys3 added the bug: pending triage Something doesn't seem to be working, but hasn't been verified label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: pending triage Something doesn't seem to be working, but hasn't been verified
Projects
None yet
Development

No branches or pull requests

1 participant