You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a huge project that uses in the package.json as a dependency among many others:
"video.js": "7.8.4-fixoffset.2"
Problem is that when I run npm install it fails with this output and cannot find any refs outside of this repo with this error. Any ideas ?
$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer video.js@"^6 || ^7" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer video.js@"^6 || ^7" from the root project
npm ERR! code ETARGET
npm ERR! notarget No matching version found for video.js@^6 || ^7.
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\gal.levinshtein\AppData\Local\npm-cache_logs\2022-02-02T23_52_43_359Z-debug-0.log
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi ya all,
I have a huge project that uses in the package.json as a dependency among many others:
"video.js": "7.8.4-fixoffset.2"
Problem is that when I run
npm install
it fails with this output and cannot find any refs outside of this repo with this error. Any ideas ?$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer video.js@"^6 || ^7" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer video.js@"^6 || ^7" from the root project
npm ERR! code ETARGET
npm ERR! notarget No matching version found for video.js@^6 || ^7.
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\gal.levinshtein\AppData\Local\npm-cache_logs\2022-02-02T23_52_43_359Z-debug-0.log
The log shows this:
5081 silly placeDep ROOT video.js@ REPLACE for: [email protected] want: ^6 || ^7
5082 warn ERESOLVE overriding peer dependency {
5082 warn ERESOLVE code: 'ERESOLVE',
5082 warn ERESOLVE edge: {
5082 warn ERESOLVE type: 'peer',
5082 warn ERESOLVE name: 'video.js',
5082 warn ERESOLVE spec: '^6 || ^7',
5082 warn ERESOLVE error: 'MISSING',
5082 warn ERESOLVE from: {
5082 warn ERESOLVE location: 'C:\DEV\doolittle-reader\node_modules\videojs-contrib-quality-levels'
5082 warn ERESOLVE }
5082 warn ERESOLVE },
5082 warn ERESOLVE dep: {
5082 warn ERESOLVE name: 'video.js',
5082 warn ERESOLVE version: undefined,
5082 warn ERESOLVE errors: [ [Error] ],
5082 warn ERESOLVE package: {},
5082 warn ERESOLVE whileInstalling: {
5082 warn ERESOLVE name: 'videojs-contrib-quality-levels',
5082 warn ERESOLVE version: '2.0.9-fixoffset.2',
5082 warn ERESOLVE path: 'C:\DEV\doolittle-reader\node_modules\videojs-contrib-quality-levels'
5082 warn ERESOLVE },
5082 warn ERESOLVE location: 'node_modules/video.js',
5082 warn ERESOLVE isWorkspace: false,
5082 warn ERESOLVE dependents: [ [Object] ]
5082 warn ERESOLVE },
5082 warn ERESOLVE current: null,
5082 warn ERESOLVE strictPeerDeps: false,
5082 warn ERESOLVE force: false,
5082 warn ERESOLVE isMine: true
5082 warn ERESOLVE }
....
7961 timing command:install Completed in 97420ms
7962 verbose type range
7963 verbose stack video.js: No matching version found for video.js@^6 || ^7.
7963 verbose stack at module.exports (C:\Users\gal.levinshtein\AppData\Roaming\npm\node_modules\npm\node_modules\npm-pick-manifest\index.js:209:23)
7963 verbose stack at C:\Users\gal.levinshtein\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\registry.js:118:26
7964 verbose cwd C:\DEV\doolittle-reader
7965 verbose Windows_NT 10.0.19043
7966 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\gal.levinshtein\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
7967 verbose node v16.13.2
7968 verbose npm v8.4.0
7969 error code ETARGET
7970 error notarget No matching version found for video.js@^6 || ^7.
7971 error notarget In most cases you or one of your dependencies are requesting
7971 error notarget a package version that doesn't exist.
7972 verbose exit 1
7973 timing npm Completed in 97709ms
7974 verbose unfinished npm timer reify 1643845963644
7975 verbose unfinished npm timer reify:loadTrees 1643845963652
7976 verbose unfinished npm timer idealTree:node_modules/videojs-contrib-quality-levels 1643846049246
7977 verbose code 1
Any ideas how to resolve please ?
Thank you in advance !!!
Beta Was this translation helpful? Give feedback.
All reactions