Question:i’m trying to install a npm package from private repository github of my organisaion with npm install, but i still have a
npm ERR! code ENOENTHow can i configure my npmrc to say that i would install package from a private github repository + npm package public repository ?
Answer:As mentioned in previous answers you need to set a personal token within your profile so that when npm runs it will use your token.
Another option is, you can ignore the file
.npmrcwhere you’ll add your token.
If you have better answer, please add a comment about this, thank you!