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

could not start process: exec: "node": executable file not found in $PATH #1309

Closed
ImBIOS opened this issue Aug 4, 2024 · 2 comments
Closed

Comments

@ImBIOS
Copy link

ImBIOS commented Aug 4, 2024

󰀵  󱑍 10:57  ﱮ encore-nextjs/backend    main ? via 🥟 v1.1.21 via  v20.16.0 
 ➜  encore run                                                               
  ⠂ Building Encore application graph... 
  ⠂ Analyzing service topology... 
  ❌ Starting Encore application... Failed: could not start process: exec: "node": executable file not found in $PATH
could not start process: exec: "node": executable file not found in $PATH

󰀵  󱑍 10:57  ﱮ encore-nextjs/backend    main ? via 🥟 v1.1.21 via  v20.16.0 
 ✗  node --version                                                           
v20.16.0

󰀵  󱑍 11:13  ﱮ encore-nextjs/backend    main ? via 🥟 v1.1.21 via  v20.16.0 
 ✗  which node
/home/username/.proto/shims/node

UPDATE 1: I'm installing node using proto

@fredr
Copy link
Member

fredr commented Aug 5, 2024

Could you try to restart the encore daemon and see if that solve the problem, in case nodejs was installed after the daemon was started:

encore daemon

@ImBIOS
Copy link
Author

ImBIOS commented Aug 7, 2024

@fredr Genious! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants