Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dev dependency causes npm install to fail in node v16.14.x #161

Closed
amtins opened this issue Apr 21, 2022 · 0 comments · Fixed by #162
Closed

Missing dev dependency causes npm install to fail in node v16.14.x #161

amtins opened this issue Apr 21, 2022 · 0 comments · Fixed by #162

Comments

@amtins
Copy link
Contributor

amtins commented Apr 21, 2022

Description

The JSDoc dev
dependency causes npm install to fail in node v16.14.x.

npm ERR! npm WARN old lockfile     at processTicksAndRejections (node:internal/process/task_queues:96:5) {
npm ERR! npm WARN old lockfile   cmd: 'git',
npm ERR! npm WARN old lockfile   args: [
npm ERR! npm WARN old lockfile     '--no-replace-objects',
npm ERR! npm WARN old lockfile     'ls-remote',
npm ERR! npm WARN old lockfile     'ssh://[email protected]/BrandonOCasey/jsdoc.git'
npm ERR! npm WARN old lockfile   ],
npm ERR! npm WARN old lockfile   code: 128,
npm ERR! npm WARN old lockfile   signal: null,
npm ERR! npm WARN old lockfile   stdout: '',
npm ERR! npm WARN old lockfile   stderr: 'ERROR: Repository not found.\n' +
npm ERR! npm WARN old lockfile     'fatal: Could not read from remote repository.\n' +
npm ERR! npm WARN old lockfile     '\n' +
npm ERR! npm WARN old lockfile     'Please make sure you have the correct access rights\n' +
npm ERR! npm WARN old lockfile     'and the repository exists.\n'
npm ERR! npm WARN old lockfile }

Additional Information

When cloning the repo and running an npm install the following error is thrown:

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t https://github.com/BrandonOCasey/jsdoc.git
npm ERR! 
npm ERR! remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
npm ERR! remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
npm ERR! fatal: Authentication failed for 'https://github.com/BrandonOCasey/jsdoc.git/'
npm ERR! 
npm ERR! exited with error code: 128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant