admin管理员组文章数量:1134037
I'm setting up a new Vue 3 project, but when I run 'npm run dev', the URL after 'vite --host' doesn't appear. There were also issues during the npm installation. How should I resolve this?
Below are the terminal outputs that appeared during the installation.
PS C:\noneWork\vue3_test> npm run dev
> [email protected] dev
> vite --host
PS C:\noneWork\vue3_test> npm i
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '\\\\?\\C:\\noneWork\\vue3_test\\node_modules\\@vue\\compiler-sfc',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\noneWork\vue3_test\node_modules\@vue\compiler-sfc\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\noneWork\\vue3_test\\node_modules\\@vue\\compiler-sfc\\node_modules'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code ERR_INVALID_ARG_TYPE
npm error The "file" argument must be of type string. Received undefined
npm error A complete log of this run can be found in: C:\Users\SEEDS\AppData\Local\npm-cache\_logs\2025-01-08T01_37_41_845Z-debug-0.log
PS C:\noneWork\vue3_test> node -v
v22.13.0
PS C:\noneWork\vue3_test> npm -v
11.0.0
本文标签: nodejsnot working dev for vite and npm install errorStack Overflow
版权声明:本文标题:node.js - not working dev for vite and npm install error - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736764132a1951718.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论