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
Error when running node ps1 script #233
Comments
I'm assuming the |
Yep. Here's an example from I think it would be a good idea for |
Yeah my initial goal was to generate I have some changes in v0.20 that will help with this issue, but I wouldn't consider it a permanent fix, more of an alternative solution. |
I’m not sure but I think it might also do to have a custom file extension, add it to the shell’s PATH_EXT, and register proto.exe as a handler for such files. I don’t think a PowerShell function would work on Windows though - I think |
In v0.20, we now also create bin symlinks, which should help solve these ".exe" use cases. |
What version?
0.19.3
Which command?
No response
What happened?
Some scripts fail on proto in Powershell in Windows due to missing
node.exe
.E.g.
proto run npm -- install esbuild
It seems there is a node shim in
~/.proto/bin/node.cmd
, which is in my PATH. There is also a bin inC:\Users\dan\.proto\tools\node\20.8.0\node.exe
, which is not in my path.Any logs?
No response
Operating system?
Windows
Architecture?
x64
The text was updated successfully, but these errors were encountered: