Muhammad Ali
Muhammad Ali

Reputation: 3

No matching version found for [email protected]

npm ERR! code ETARGET npm ERR! notarget No matching version found for react-router-dom@^2.1.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: npm ERR! C:\Users\Admin\AppData\Local\npm-cache_logs\2022-03-14T11_35_07_149Z-debug-0.log

Upvotes: 0

Views: 5653

Answers (3)

Aidek
Aidek

Reputation: 1

react-router-dom@^2.1.3. try to remove the last dot from the the line

react-router-dom@^2.1.3

Upvotes: 0

Muhammad Ali
Muhammad Ali

Reputation: 3

tried this but it's throwing these errors!!

npm ERR! code 1 npm ERR! path E:\Offices\Office Sator-it\Projects\React project\FreseniusPortal - Copy\node_modules\node-sass npm ERR! command failed and other errors

Upvotes: 0

Samantha
Samantha

Reputation: 849

try clearing the cache and re install again

npm cache clean --force

then

npm install

Upvotes: 1

Related Questions