简体   繁体   English

module.js:540错误:找不到模块'semver'

[英]module.js:540 Error: Cannot find module 'semver'

Getting error me but, it not resolve any npm command when i enter npm command. 得到错误我,但当我输入npm命令时,它不能解决任何npm命令。 It showing below error in image. 它在图像中显示以下错误。 How can i resolve it. 我该如何解决。 i tried to unistall and remove through command line but showing below error please help me. 我试图取消安装并通过命令行删除,但显示以下错误,请帮助我。 I'm stuck in enter image description here this process 我被困在此过程中输入图像描述

Please help me and i also tried mannualy uninstall and reinstall process node.js after that also getting this error. 请帮助我,我也尝试过手动卸载并重新安装进程node.js,之后也收到此错误。

Remove all globally installed npm packages. 删除所有全局安装的npm软件包。 From folder C:\\Users\\username\\AppData\\Roaming\\npm You can get here quickly by typing %appdata% (either in explorer, run prompt, or start menu). 从文件夹C:\\ Users \\ username \\ AppData \\ Roaming \\ npm您可以通过键入%appdata%(在资源管理器,运行提示或开始菜单中)快速到达此处。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM