npm ERR! Cannot read properties of null (reading ‘matches‘)

1、npm install body-parser 报错npm ERR! Cannot read properties of null (reading 'matches')

reply: npm cache clean --force,再重新安装

2、cnpm install --save core-js/modules/es.array.push.js core-js/modules/es.error.cause.js core-js/modules/es.object.proto.js svg-baker-runtime/browser-symbol

报错:no such file or directory,

reply:删除package.json 的 core-js,删除node_modules中的已经安装的core-js,重新安装core-js

3、最后直接安装cnpm i svg-baker-runtime --save

相关推荐
我不吃饼干5 小时前
在 React 中实现倒计时功能会有什么坑
前端·react.js
有事没事实验室5 小时前
Node.js 路由与中间件
中间件·node.js
小小小小宇5 小时前
前端PerformanceObserver
前端
王者鳜錸5 小时前
PYTHON从入门到实践-18Django从零开始构建Web应用
前端·python·sqlite
拾光拾趣录5 小时前
ES6到HTTPS全链路连环拷问,99%人第3题就翻车?
前端·面试
haaaaaaarry6 小时前
Element Plus常见基础组件(二)
开发语言·前端·javascript
xyphf_和派孔明6 小时前
关于echarts的性能优化考虑
前端·性能优化·echarts
PyHaVolask7 小时前
HTML 表单进阶:用户体验优化与实战应用
前端·javascript·html·用户体验
A了LONE7 小时前
cv弹窗,退款确认弹窗
java·服务器·前端
AntBlack7 小时前
闲谈 :AI 生成视频哪家强 ,掘友们有没有推荐的工具?
前端·后端·aigc