-
Notifications
You must be signed in to change notification settings - Fork 46
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 on Linux: "npm is not installed" Despite Node.jsNPM Being Detected in Project Validation #208
Comments
Thanks for the report - can you please try updating nodejs manually to latest 20 LTS? |
Hey, I already tried Nodejs v20.18.1 (LTS) but still facing the same problem. |
Are you using nvm or something similar by any chance? What do you get when you run |
When I initially encountered this issue, I was not using nvm. I installed nvm afterward to see if it would resolve the problem, but it made no difference. Running |
Can you try running the same command in Unity using the commandline helper (via menu item "Needle Engine/Internal/Command Tester") |
running |
Hello @Anass001 do you still experience this issue? If yes could you send a Bugreport in Unity via the menu item "Needle Engine/Report a bug" ? |
I switched to Windows, so I no longer experience this issue. |
Describe the bug 💬
I'm trying to install web project, but I'm encountering the following error:
npm is not installed - please install Node LTS first. Visit https://nodejs.org for more information. If you did install Nodejs and this message still appears please restart your computer.
UnityEngine.Debug:LogError (object)
I have two Node.js versions installed on my system:
In the Project Validation window, it detects Node.js v20.13.1 and NPM 10.5.2, but I still get the error in the console.
I'm new to Unity and Needle and i just started figuring things out, so I tried some suggested solutions found in the forum.
Steps I’ve tried so far:
Unfortunately, none of these resolved the issue.
Operating System 👩💻
Linux
What browsers are you seeing the problem on? 🏄♂️
No response
Editor Version 🎲
2022.x
Needle Exporter version
3.51.0
Project Info (Unity only) 📜
Steps to reproduce 🔢
Reproduction ♻
No response
Discord or Discussion link
No response
Validations 🩹
The text was updated successfully, but these errors were encountered: