最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - Error: Cannot find module 'node:path' while running "npm -v" or "npm --v

matteradmin6PV0评论

My project depends on Node v10.24 and npm v6.9 as it's a very old project. I installed node v10.24 and when I run node -v it's returning 10.24 which is expected

Now when I want to verify npm version using npm -v or npm --version i am getting below error.

Could you please help me on this? I have installed multiple times and tried to restart the system as well, but still stuck here.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far