Closed reaink closed 2 years ago
That's because the dependency on plyr is defined through a github URL, which npm apparently translates to git+ssh://git@github.com/sampotts/plyr.git
. And for ssh access to github you need SSH-keys configured in your github account.
The easiest way for you would be to install the plyr dependency by yourself: npm i plyr
Please keep in mind, that this could result in problems as this repo has not seen any updates for quite some time while plyr development continued, so you might need to downgrade to an older version of plyr instead. Assuming plyr honors semver you should be fine though.
Well, that did not solve it completely.
What did work on the other hand was forcing an override:
"overrides": {
"vue-plyr": {
"plyr": "^3.7.0"
}
},
This is a relative new npm feature introduced in v8.3, see https://stackoverflow.com/a/70396201/838733 and https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides
@nietonfir Thank you, I use @hulkapps/vue-plyr fork package can work