You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I have a problem when I try to run npm run watch on a test server running on a virtual machine with Ubuntu. I’m connecting to this server using PuTTY. Whenever I try to use an npm command it throws the following error:
ERROR: npm v10.9.0 is known not to run on Node.js v14.21.3. This version of npm supports the following node versions: `^18.17.0 ||>=20.5.0`. You can find the latest version at https://nodejs.org/.
I tried updating Node.js to versions v18.17.0 and v22.11.0 (using nvm to switch versions), but then I ran into another issue when running any npm command:
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
Here is some additional context:
This project was not created by me; I recently joined the company.
Programming HelpProgramming languages, open source, and software development.
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Body
Hey,
I have a problem when I try to run
npm run watch
on a test server running on a virtual machine with Ubuntu. I’m connecting to this server using PuTTY. Whenever I try to use an npm command it throws the following error:ERROR: npm v10.9.0 is known not to run on Node.js v14.21.3. This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.
I tried updating Node.js to versions v18.17.0 and v22.11.0 (using nvm to switch versions), but then I ran into another issue when running any npm command:
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
Here is some additional context:
Could you please help me understand what steps I should take to resolve this issue? Let me know if you need more details.
Thank you!
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions