vue项目启动npm run serve常见报错及解决办法

报错1:

如图:

解决方法:重新安装core-js , npm i core-js


报错2:

Syntax Error: EslintPluginImportResolveError: unable to load resolver "alias".

解决方法:npm install eslint-import-resolver-alias -D

报错3:

Error: Node Sass does not yet support your current environment:

Windows 64-bit with Unsupported runtime (83) For more information on which environments are supported please see:

解决办法:npm rebuild node-sass

相关推荐
|晴 天|34 分钟前
Vue 3 + TypeScript + Element Plus 博客系统开发总结与思考
前端·vue.js·typescript
猫3281 小时前
v-cloak
前端·javascript·vue.js
旷世奇才李先生1 小时前
Vue 3\+Vite\+Pinia实战:企业级前端项目架构设计
前端·javascript·vue.js
SoaringHeart3 小时前
Flutter进阶:用OverlayEntry 实现所有弹窗效果
前端·flutter
IT_陈寒5 小时前
Vite静态资源加载把我坑惨了
前端·人工智能·后端
herinspace5 小时前
管家婆实用贴-如何分离和附加数据库
开发语言·前端·javascript·数据库·语音识别
小码哥_常5 小时前
从MVC到MVI:一文吃透架构模式进化史
前端
嗷o嗷o5 小时前
Android BLE 的 notify 和 indicate 到底有什么区别
前端
豹哥学前端5 小时前
别再背“var 提升,let/const 不提升”了:揭开暂时性死区的真实面目
前端·面试
Lkstar5 小时前
我把Vue2响应式源码从头到尾啃了一遍,这是整理笔记
vue.js