mac环境下sh: vue-cli-service: command not found Post author:xfxia Post published:2023年9月1日 Post category:vue mac环境下运行vue项目报错sh: vue-cli-service: command not found 解决方法:cd到项目目录下,执行命令 sudo rm -rf node_modules package-lock.json && npm install 安装完成后,npm run dev就可以了 你可能也喜欢 vue发起axios请求 Vue实战快速上手-vue+ElementUI vue项目中常用methods vue点赞飘心(实测可用) vue数据渲染时拿不到值报错 Vue项目刷新当前页面解决方法 vue使用 axios添加拦截器,get请求、post 请求头部添加token 【vue】如何改写数组的方法使其成为响应式? 前端爬坑之路——VUE动态添加DOM节点 vue-quill-editor自动获取焦点,页面自动滚动到editor的位置 如何运行一个vue文件进行预览 Vue学习(六)——v-for指令 使用vue时遇到的问题总结 vue项目优化打包 压缩字体文件,使用字蛛(font-spider) vue-element-admin学习 vue全家桶-vuex vue移动端项目调试优雅的引入vconsole Vue3.0 使用 ant-design-vue vue3+element-puls 自定义TreeSelect 树形选择多选 electron-vite-vue打包完,vue-router报错exports is not defined