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
Node.js hook errors with direnv #1944
Comments
Probably worth noting that I’m using fish shell. |
@evanleck which version of fish shell are you using? |
@savil fish 3.7.1 and direnv 2.34.0 |
Hey @evanleck, I've been trying to reproduce this but I can't get the error to replicate with Fish + Direnv. Can you try the following:
If those don't fix your issue, can you share the contents of the file at |
@Lagoja thanks for looking into the issue.
Unfortunately, that didn't seem to fix the issue. The contents of test -z $DEVBOX_COREPACK_ENABLED || corepack enable --install-directory "/Users/evan/Code/devbox-node-repro/.devbox/virtenv/nodejs/corepack-bin/"
test -z $DEVBOX_COREPACK_ENABLED || export PATH="/Users/evan/Code/devbox-node-repro/.devbox/virtenv/nodejs/corepack-bin/:$PATH" I don't see |
FWIW changing the contents of test -v DEVBOX_COREPACK_ENABLED || corepack enable --install-directory "/Users/evan/Code/devbox-node-repro/.devbox/virtenv/nodejs/corepack-bin/"
test -v DEVBOX_COREPACK_ENABLED || export PATH="/Users/evan/Code/devbox-node-repro/.devbox/virtenv/nodejs/corepack-bin/:$PATH" |
What happened?
I installed
nodejs@20
via devbox and added direnv withdevbox generate direnv
and now when Icd
into that directory I get this error:Steps to reproduce
Command
add, generate
devbox.json
Devbox version
0.10.1
Nix version
nix (Nix) 2.20.5
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
No response
The text was updated successfully, but these errors were encountered: