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

相关推荐
漂流瓶jz20 分钟前
快速定位源码问题:SourceMap的生成/使用/文件格式与历史
前端·javascript·前端工程化
samroom21 分钟前
iframe实战:跨域通信与安全隔离
前端·安全
fury_12339 分钟前
vue3:数组的.includes方法怎么使用
前端·javascript·vue.js
weixin_4050233741 分钟前
包资源管理器NPM 使用
前端·npm·node.js
宁&沉沦1 小时前
Cursor 科技感的登录页面提示词
前端·javascript·vue.js
Dragonir1 小时前
React+Three.js 实现 Apple 2025 热成像 logo
前端·javascript·html·three.js·页面特效
peachSoda72 小时前
封装一个不同跳转方式的通用方法(跳转外部链接,跳转其他小程序,跳转半屏小程序)
前端·javascript·微信小程序·小程序
@PHARAOH2 小时前
HOW - 浏览器兼容(含 Safari)
前端·safari
undefined在掘金390412 小时前
flutter 仿商场_首页
前端