Replies: 1 comment 1 reply
-
Currently the latest version of the I'm not sure why the npm audit would think there is a version 6.24.1 of Imperative. Could you run the command |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I have updated my application with below package.json and did a build through jenkins and it was successful.
Then i installed "NPM INSTALL " in my nexus repository followed by issued "npm audit fix --force". and its popping up an error that @zowe/imperative version 6.24.1 not found. Need your help fixing this.
My Package.json has the below dependencies :
"dependencies": {
"@zowe/cli": "^7.6.2",
"@zowe/imperative": "^5.5.4",
"@zowe/zos-jobs-for-zowe-sdk": "^7.6.2",
"@zowe/zos-tso-for-zowe-sdk": "^7.6.2",
"@zowe/zos-uss-for-zowe-sdk": "^7.6.2",
"@zowe/zos-files-for-zowe-sdk": "^7.7.0",
"body-parser": "^1.20.1",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dotenv": "^16.0.3",
"express": "~4.16.1",
"express-zip": "^3.0.0",
"helmet": "^5.1.1",
"jszip": "^3.10.1",
"morgan": "~1.10.0",
"tingodb": "^0.6.1"
},
"devDependencies": {
"nodemon": "^2.0.20"
error msg :
$ npm audit fix --force @zeng/zoops-app-server@1.0.51
npm WARN using --force Recommended protections disabled.
npm WARN audit No fix available for express@*
npm WARN audit No fix available for debug@*
npm WARN audit Updating nodemon to 1.9.0, which is a SemVer major change.
npm WARN audit Updating @zowe/imperative to 6.24.1, which is a SemVer major change.
npm WARN audit Updating cookie-parser to 1.0.0, which is a SemVer major change.
npm WARN audit No fix available for express-zip@*
npm WARN audit No fix available for body-parser@*
npm WARN audit Updating morgan to 1.2.2, which is a SemVer major change.
npm WARN audit Updating cors to 2.8.1, which is a SemVer major change.
npm WARN audit Updating jszip to 3.9.1, which is a SemVer major change.
npm WARN audit Updating @zowe/zos-uss-for-zowe-sdk to 6.24.1, which is a SemVer major change.
npm WARN audit Updating @zowe/zos-tso-for-zowe-sdk to 6.24.1, which is a SemVer major change.
npm WARN audit Updating @zowe/zos-jobs-for-zowe-sdk to 6.24.1, which is a SemVer major change.
npm WARN audit No fix available for @zowe/cli@*
npm WARN audit Updating @zowe/zos-files-for-zowe-sdk to 6.24.1, which is a SemVer major change.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @zowe/imperative@6.24.1.
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:
npm ERR! C:\Users\F8512PV\AppData\Local\npm-cache_logs\2022-11-07T10_03_11_737Z-debug-0.log
2022-11-07T10_03_11_737Z-debug-0.log
Beta Was this translation helpful? Give feedback.
All reactions