aaPanel_Kern
aaP_seifahmeed2
Try adding directly with the command. Or install directly with the complete path: /www/server/nodejs/v16.14.0/bin/npm
aaP_seifahmeed2
Try adding directly with the command. Or install directly with the complete path: /www/server/nodejs/v16.14.0/bin/npm
aaPanel_Kern
Which command you mean?
/www/server/nodejs/v16.14.0/bin/npm install xxxx ?
aaPanel_Kern
Didn't work.
Please give the result of executing the command, the version needs to be replaced with your actual version
Command sudo /www/server/nodejs/v18.17.1/bin/npm init
Output /usr/bin/env: ‘node’: No such file or directory
aaPanel_Kern Please resolve.
aaPanel_Kern already installed.
Hello, @aaPanel_Kern, I haven't received any response regarding issue #p68963. Can you please provide an update?
As you can see, It's already installed!
root@vmi2234739:/www/wwwroot/example.com# /www/server/nodejs/v16.14.2/bin/npm run build
build
vite build
/usr/bin/env: ‘node’: No such file or directory
I am gettting this error
Hello, try to set the command line version in the Node version manager in the Node project