报错经验
在哪跌倒在哪爬
不能懒鸭
努力写出优雅的代码
展开
-
【npm run dev 报错:error:0308010C:digital envelope routines::unsupported】
nodejs版本太高(nodejs v17版本发布了openSSL3.0对短发和密钥大小增加了更为严格的限制,nodejs v17之前版本没有影响,但之后的版本会出现这个错误,物品的node版本是20.9.0)在 package.json 的 scripts 中新增。npm run dev重新启动即可。原创 2023-11-02 14:34:54 · 860 阅读 · 0 评论 -
git push相关报错:Logon failed, use ctrl+c to cancel basic credential prompt.
git push之后,提示输入两次账号和密码之后 报错:git push -u origin master(报错信息) :Logon failed, use ctrl+c to cancel basic credential prompt.remote: Permission to Lige0987/0216_reactAdmin.git denied to Lige0987.fatal: unable to access ‘https://github.com/…git/’: The requ原创 2022-02-16 15:30:36 · 3535 阅读 · 0 评论 -
react 启动报错:Uncaught TypeError: Cannot read properties of undefined (reading ‘forEach‘)
安装完react 开发者工具后,再启动报错解决办法:根据上面目录找到相应js文件,注释掉报错代码即可。虽然关掉 react-devtools ,也可以启动成功,但是这不现实呀,总要用开发者工具的嘛,便于提高开发效率。注释掉,不影响开发,但我并没有找到为什么这句话会影响报错呀,欢迎大神指点呀...原创 2021-11-19 15:59:43 · 9396 阅读 · 4 评论