admin管理员组文章数量:1023827
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.
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.
本文标签:
版权声明:本文标题:javascript - Error: Cannot find module 'node:path' while running "npm -v" or "npm --v 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745604224a2158633.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论