-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Unable to start shadow-cljs project #591
Comments
If you open a terminal in VSCode, can you run npx? If it is not found, then that's your problem. |
@Looveh If you do |
When I open VSCode as you'd open any other application on Mac, |
@Looveh That is because if you open VSCode from bash, all environment variables (including $PATH) are retained. You can try changing the default shell in VSCode to bash. |
This looks a bit relevant: microsoft/vscode#30847 (comment) Not sure what Calva can do about it, except instructions on how to fix it (or work around it, if that is the best we can do). |
Also, @Looveh . Is |
@PEZ Regarding the linked comment, in MacOS one can update /etc/paths or /etc/paths.d/<some-file> so that both the OS and terminals have access to it. This way, inconsistencies can be avoided. If someone uses other ways to update StackExchange: https://unix.stackexchange.com/questions/356688/what-is-the-difference-between-echo-path-and-etc-paths/356720 |
🙏 I've been using OSX since it was in its first beta, but haven't stumbled across this problem before. 😄 |
I added some info about this to the docs: https://calva.readthedocs.io/en/dev/quirks.html#command-not-found-errors-on-jack-in |
Updating the link to where this is documented, since I was just updating docs and followed the link to this issue: https://calva.io/quirks/#command-not-found-errors-on-jack-in |
Issue Type: Bug
Try starting a shadow-cljs project with:
C-M-c C-M-j > shadow-cljs > :app
Getting the error:
Project config:
Extension version: 2.0.85
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:34:44.548Z)
OS version: Darwin x64 19.3.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: