Vue.js Can';无法在vue js中打开本地主机?
最近我无法打开任何vue应用程序。我尝试使用Vue.js Can';无法在vue js中打开本地主机?,vue.js,Vue.js,最近我无法打开任何vue应用程序。我尝试使用npm install安装所有依赖项,当我运行npm run serve时,出现以下错误: > vue-first-app@0.1.0 serve D:\Software Development\Front-end\1-Vue\14.Animations&Transitions\routingeg > vue-cli-service serve 'Transitions\routingeg\node_modules\.bi
npm install
安装所有依赖项,当我运行npm run serve
时,出现以下错误:
> vue-first-app@0.1.0 serve D:\Software Development\Front-end\1-Vue\14.Animations&Transitions\routingeg
> vue-cli-service serve
'Transitions\routingeg\node_modules\.bin\' is not recognized as an internal or external command,
operable program or batch file.
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'D:\Software Development\Front-end\1-Vue\@vue\cli-service\bin\vue-cli-service.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-first-app@0.1.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-first-app@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\basirpayenda\AppData\Roaming\npm-cache\_logs\2021-02-26T12_03_43_305Z-debug.log
这个错误对我理解错误并没有真正的帮助,我尝试重新安装vue和vue cli,但我在所有vue应用程序中仍然遇到这个错误?有人能帮忙吗?提前感谢您。之前一位用户发现类似问题 请参考以下问题中的评论
在我看来,目录名
14中的和似乎有问题。动画和转场
有问题