前端报错bug
文章平均质量分 64
前端开发中一些常见的报错
星辰迷上大海
饮水思源,行胜于言。这盛世如你所愿!运动使我健康,旅行使我记忆,学习让我懂得思考。
展开
-
报错:npm WARN ERESOLVE overriding peer dependency
这个警告通常意味着您的项目中存在不同模块之间的依赖冲突。这可能会导致一些模块无法正常工作或版本不匹配的问题。原创 2024-03-20 17:10:44 · 2234 阅读 · 0 评论 -
Mac上使用M1或M2芯片的设备安装Node.js时遇到一些问题,比如卡顿或性能问题
对于一些尚未适配M1或M2芯片的软件,您可以尝试在Rosetta模式下运行它们,以提高兼容性和性能。原创 2024-03-12 21:44:38 · 868 阅读 · 0 评论 -
报错:Component provided template option but runtime compilation is not supported in this build of Vue.
[Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".这个错误提示表明在你的项目中找不到 Vue 模块。可能是由于缺少 Vue 的依赖或者配置问题导致的。原创 2024-02-07 18:30:00 · 702 阅读 · 0 评论 -
React DevTools安装,报错:error An unexpected error occurred、Cannot read properties of undefined
报错:error An unexpected error occurred、Uncaught TypeError: Cannot read properties of undefined (reading 'forEach')原创 2024-01-11 07:45:00 · 446 阅读 · 0 评论 -
将项目同时提交到GitHub和码云Gitee上面,GitHub与Gitee同步
将项目同时提交到 GitHub 和 Gitee 上可以让更多的人看到和使用您的项目,提高项目的曝光率和影响力,同时也可以提高项目的稳定性和可靠性,方便用户获取最新的代码。原创 2024-01-09 07:15:00 · 1730 阅读 · 0 评论 -
Mac 修改报错Permission denied、chmod命令详细用法
一个文件有3种权限,读、写、可执行,Permission denied就是没有可执行权限,所以需要加上可执行权限。原创 2023-12-26 12:03:57 · 1246 阅读 · 0 评论 -
运行报错 ERROR Failed to compile with 1 error Syntax Error: Error: No ESLint configuration found
You may use special comments to disable some warnings.Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore all warnings in a file.原创 2023-12-21 15:46:46 · 853 阅读 · 0 评论 -
vu3 控制台报错:[Vue warn]: Unhandled error during execution of component
执行组件事件处理程序时出现未处理的错误原创 2023-12-14 18:00:27 · 1526 阅读 · 0 评论 -
mac 安装pnpm 报错 zsh: command not found、.bash_profile和.zshrc 区别、/etc/profile与~/.bash_profile的区别
macOS 系统中默认使用 Zsh 作为终端,mac.zshrc 文件则是 Zsh 的主要配置文件。原创 2023-12-13 18:14:19 · 1281 阅读 · 2 评论 -
安装vue3 pinia报错:(node:12974) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token ‘??=‘
发现是node.js不兼容的问题。升级node.js版本就解决了。原创 2023-12-12 20:59:50 · 1179 阅读 · 0 评论 -
git clone报错:remote: Support for password authentication was removed on August 13, 2021.
原因:是因 github 在 2020 年 7 月,宣布要求对所有经过身份验证的 Git 操作使用基于令牌的身份验证(例如,个人访问 GitHub 应用程序安装令牌)。从 2021年8月13 日开始,将在GitHub.com 上对 Git 操作进行身份验证时不再接受帐户密码。原创 2023-11-22 18:14:16 · 1910 阅读 · 0 评论 -
yarn安装报错:No license field
No license field 这个错误提示是因为在项目的 package.json 文件中没有指定许可证信息。原创 2023-09-27 15:52:05 · 2433 阅读 · 0 评论 -
Yarn安装报错和使用
Yarn 支持 Windows、MacOS 和 Linux 等多个平台。npm 和 yarn 安装包命令比较。包管理器对web开发非常的重要,市场上两个最受欢迎的包管理器,它们都有各自的优点和缺点,我们选择最适合项目的。原创 2023-09-25 17:18:45 · 992 阅读 · 0 评论 -
mac 安装nodemon报错和解决方法 npm i nodemon -g
本地软件包和全局软件包区别,体验 nodemon 的使用。nodemon可以随时监听文件的变更,自动重启服务,我们开发时只需关注代码即可,不再需要手动重启服务。原创 2023-09-10 13:35:24 · 926 阅读 · 0 评论 -
在Mac 上安装flutter 遇到的问题
安装flutter 遇到的问题:An HTTP error occurred while checking "https://github.com/": Connection等等原创 2023-09-02 11:21:28 · 1263 阅读 · 0 评论 -
Mac安装Dart时,Homebrew报错 Error: Failure while executing
Mac安装Dart时,Homebrew报错 Error: Failure while executing原创 2023-08-31 16:02:58 · 1016 阅读 · 0 评论