So I'm getting a recurring issue with npm (and also bower but who uses bower anymore), I think it occurs when I used it to install packages from a url. This used to work, I've done it this way for years
npm ERR! Error while executing:
npm ERR! C:\Program Files (x86)\Git\bin\git.EXE ls-remote -h -t ssh://git@github.com/rochal/jQuery-slimScroll.git
npm ERR!
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\*****\AppData\Roaming\npm-cache\_logs\2018-06-23T15_38_21_877Z-debug.log
The section of the package.json is like this
"slimScroll": "https://github.com/rochal/jQuery-slimScroll.git#~1.3.3"
Anybody know any fixes for this?
Looks like you're having some issue with permissions on the github account, why not just use
npm install jquery-slimscroll
(as per the documentation, works perfectly)
Sorry, you need to Log In to post a reply to this thread.