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

My project depends on Node v10.24 and npm v6.9 as it's a very old project.I installed node v10.24

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745604226a4635578.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信