公共模块package.json
{
"name": "bis-common",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"crypto-js": "^4.2.0",
"jsencrypt-node": "^1.0.4",
"jsencrypt-plus": "^0.1.0"
}
}
安装公共模块bis-common依赖失败。
Error: npm进程退出码:1
详细错误信息如下:
npm WARN deprecated koa-router@7.4.0: IMPORTANT 10x+ PERFORMANCE UPGRADE: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173
npm WARN deprecated koa-router@7.4.0: IMPORTANT 10x+ PERFORMANCE UPGRADE: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173
npm WARN deprecated koa-router@7.4.0: IMPORTANT 10x+ PERFORMANCE UPGRADE: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\pagetan\AppData\Local\Temp\hx-unicloud-plugin\bis-common\node_modules\escodegen',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\pagetan\AppData\Local\Temp\hx-unicloud-plugin\bis-common\node_modules\escodegen'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\pagetan\AppData\Local\Temp\hx-unicloud-plugin\bis-common\node_modules\escodegen'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @babel/parser@7.26.3.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in: C:\Users\pagetan\AppData\Local\npm-cache_logs\2024-12-09T07_21_32_090Z-debug-0.log
1 个回复
风之源
拆分依赖,逐个试是哪个导致的,拆分到最少依赖,再用一个公共模块引用他们