videojs / videojs-contrib-eme

Supports Encrypted Media Extensions for playback of encrypted content in Video.js
Other
203 stars 72 forks source link

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

Closed amtins closed 2 years ago

amtins commented 2 years ago

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://git@github.com/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