~reykjalin/public-inbox

1

Intelephense stopped with the following error: undefined

Details
Message ID
<60906AFB-6574-404A-BA7A-BC1293347999@ndk-design.fr>
DKIM signature
missing
Download raw message
Hello i can’t run intelephense on nova since last update could you please help me?
Many thanks

here is the log message : 

Intelephense Language Server[11:05:08.791000] env: node: No such file or directory

Intelephense Language Server[11:05:08.820000] Intelephense Language Server connection closed unexpectedly: Task exited with a non-zero exit status: 127.

Intelephense[11:05:08.822000] Intelephense stopped with the following error: undefined



node : v18.12.0
nmp : 8.19.2
Details
Message ID
<AEFB89B9-78D2-411B-A2DE-039D9AEEDC38@thorlaksson.com>
In-Reply-To
<60906AFB-6574-404A-BA7A-BC1293347999@ndk-design.fr> (view parent)
DKIM signature
missing
Download raw message
Hi!

> Intelephense Language Server[11:05:08.791000] env: node: No such file or directory

This implies Nova can’t find your installation of NodeJS when running the
extension. If you open your terminal application and run `which node` what is
the output? If it’s in a non-standard location (i.e. outside /usr/bin or a
variation thereof) you may have to make sure it’s added to your PATH in Nova.

Usually the easiest way to accomplish this is to ensure Nova is using the
environment from your login shell. You can toggle this in the Nova preferences
and in the "Tools" section. You can also manually modify some of the environment
variables there.

It’s hard for me to help with issues like this since it’s related to your
computer’s environment, but if you run into any further issues let me know and
I’ll try to give you some advice on how to address the issues.

I hope that helps!

-Kristófer R.
Reply to thread Export thread (mbox)