Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm安装报错 #2

Open
zhdlxy opened this issue Apr 14, 2023 · 1 comment
Open

npm安装报错 #2

zhdlxy opened this issue Apr 14, 2023 · 1 comment

Comments

@zhdlxy
Copy link

zhdlxy commented Apr 14, 2023

npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'D:\Hello world\energy\mapvthree-projects-main\react-mapvthree\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'D:\Hello world\energy\mapvthree-projects-main\react-mapvthree\node_modules\typescript'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\Hello world\energy\mapvthree-projects-main\react-mapvthree\node_modules\typescript'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to http://registry.npm.baidu-int.com/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: getaddrinfo ENOTFOUND registry.npm.baidu-int.com
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
上面是错误信息

@ZY16263646566679
Copy link

ZY16263646566679 commented Apr 9, 2024

把package-lock.json删除了再执行安装就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants