npm i警告deprecated sourcemap-codec的问题
本帖最后由 cqwcns 于 2023-1-15 07:31 编辑如下提示,我百度了一遍也没找到解决方法,如何改正这个问题消除警告,请各位大佬指教,感谢。
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm警告:
npm WARN deprecated sourcemap-codec @1.4.8: Please use @jridgewell/sourcemap-codec instead
added 209 packages, and audited 210 packages in 5m
32 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
package.json:
{
"name": "wework",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@ckeditor/ckeditor5-vue": "^4.0.1",
"@cloudbase/js-sdk": "^1.7.1",
"@element-plus/icons-vue": "^2.0.10",
"ckeditor5-custom-build": "^0.0.1",
"crypto-js": "^4.1.1",
"element-plus": "^2.2.27",
"js-md5": "^0.7.3",
"pinia": "^2.0.28",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.20",
"tailwindcss": "^3.2.4",
"vite": "^4.0.0"
}
}
是不是得装这个npm i @jridgewell/sourcemap-codec npm版本高了,就降版本;低了就升版本
页:
[1]