Inherited project says to run npm install
to install packages for project. But when I do I get the following error:
npm ERR! Invalid dependency type requested: alias
In the log I can see the following messages:
212 silly fetchPackageMetaData error for redux-form-7@npm:[email protected] Invalid dependency type requested: alias
...
2744 verbose stack Error: Invalid dependency type requested: alias
2744 verbose stack at getFetcher (/Users/rich/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/pacote/lib/fetch.js:68:15)
2744 verbose stack at manifest (/Users/rich/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/pacote/lib/fetch.js:15:19)
2744 verbose stack at pinflight (/Users/rich/.nvm/versions/node/v10.15.0/lib/node_modules/npm/node_modules/pacote/manifest.js:24:12)
...
In package.json
is the following:
{
"dependencies": {
"redux-form": "5.3.3",
"redux-form-7": "npm:[email protected]"
}
}
I've googled and searched SO but I can't find what this dependency syntax is meant to do or what the error means?