I would like to install repos to a parent repo and specify by branch name. I have tried the following:
npm install username/repo#branchName --save
npm install username/repo@branchName --save
npm install username/repo#tag --save
npm install username/repo@tag --save
I'm getting an error that says:
Could not install from {theRepoWithBranch} as it does not contain a package.json file.
The repo definitely contains a package.json file. I'm wondering if this is a permissions issue given I'm using an enterprise npm registry.