React Router Not Installing
I have never had issues installing react router
before and I’m not sure what is up. I updated to the latest stable npm version
today and it still won’t work.
when I run: "npm install --save react-router"
I get:
added 12 packages, and audited 1978 packages in 3s
125 packages are looking for funding
run `npm fund` for details
3 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
and when I run: "npm audit fix --force"
I get:
npm ERR! code ERR_INVALID_ARG_TYPE npm ERR! The "from" argument must
be of type string. Received undefined"(among other things)
Any ideas?
Source: React Router Questions