2023-11-15 02:25PM
$ npm run serve
> yunkeanxin_1_front2@0.1.0 serve
> vue-cli-service serve
sh: 1: vue-cli-service: not found
主要是因为你克隆了项目之后,需要重新安装 vue 的相关依赖,可以先运行下面这个命令:
$ npm install
或者
$ yarn install
然后再重新运行 npm run serve ,就发现已经可以了。
$ npm run serve
> yunkeanxin_1_front2@0.1.0 serve
> vue-cli-service serve
INFO Starting development server...
DONE Compiled successfully in 5584ms 2:23:32 PM
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.10.4:8080/
Note that the development build is not optimized.
To create a production build, run npm run build.
登录
请登录后再发表评论。
评论列表:
目前还没有人发表评论