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

'npm install vue-plyr' error? #469

Open
nuwanz opened this issue Mar 24, 2022 · 3 comments
Open

'npm install vue-plyr' error? #469

nuwanz opened this issue Mar 24, 2022 · 3 comments

Comments

@nuwanz
Copy link

nuwanz commented Mar 24, 2022

Hello there,

I get an error when installing this plugin.

'An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.,

I like your player but can't install it on my vue3 project.

Thanks.

@jdnichollsc
Copy link

Because this lib is importing plyr package with github directly instead of npm, they need to fix that

@bluelemonade
Copy link

bluelemonade commented Jul 15, 2022

is there a bug fix or workaround out there?

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\bluelemon\AppData\Local\npm-cache_logs\2022-07-15T11_53_55_408Z-debug.log
PS F:_projekte\ABTEI_LIESBORN\BESUCHERINFO\release\frontend-besucher-info-router> install vue-plyr --verbose
Enter the absolute path where the nvm-windows zip file is extracted/copied to: ^X^CSyntaxfehler.
PS F:_projekte\ABTEI_LIESBORN\BESUCHERINFO\release\frontend-besucher-info-router> npm i vue-plyr --verbose
npm verb cli [
npm verb cli 'C:\Program Files\nodejs\node.exe',
npm verb cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
npm verb cli 'i',
npm verb cli 'vue-plyr',
npm verb cli '--verbose'
npm verb cli ]
npm info using [email protected]
npm info using [email protected]
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:F:_projekte\ABTEI_LIESBORN\BESUCHERINFO\release\frontend-besucher-info-router.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:C:\Users\bluelemon.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:C:\Users\bluelemon\AppData\Roaming\npm\etc\npmrc Completed in 1ms
npm timing config:load:global Completed in 1ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 0ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 8ms
npm timing npm:load:configload Completed in 9ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 1ms
npm timing config:load:flatten Completed in 2ms
npm timing npm:load:cleanupLog Completed in 2ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 0ms
npm timing npm:load Completed in 30ms
npm timing arborist:ctor Completed in 4ms
npm timing idealTree:init Completed in 615ms
npm timing idealTree:userRequests Completed in 4ms
npm timing arborist:ctor Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/vue-plyr 1319ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/vue 66ms (cache revalidated)
npm timing idealTree:#root Completed in 1407ms
npm http fetch GET 200 https://registry.npmjs.org/csstype 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/@vue%2fcompiler-sfc 139ms (cache revalidated)
npm timing idealTree:node_modules/vue-plyr Completed in 144ms
npm timing idealTree:node_modules/vue-plyr/node_modules/plyr Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/postcss 43ms (cache revalidated)
npm timing idealTree:node_modules/vue-plyr/node_modules/vue Completed in 49ms
npm http fetch GET 200 https://registry.npmjs.org/picocolors 41ms (cache revalidated)
npm timing idealTree:node_modules/vue-plyr/node_modules/@vue/compiler-sfc Completed in 44ms
npm timing idealTree:node_modules/vue-plyr/node_modules/csstype Completed in 0ms
npm timing idealTree:node_modules/vue-plyr/node_modules/postcss Completed in 1ms
npm timing idealTree:node_modules/vue-plyr/node_modules/picocolors Completed in 0ms
npm timing idealTree:buildDeps Completed in 1652ms
npm timing idealTree:fixDepFlags Completed in 9ms
npm timing idealTree Completed in 2285ms
npm timing command:install Completed in 2306ms
npm verb stack Error: An unknown git error occurred
npm verb stack at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\git\lib\make-error.js:28:13)
npm verb stack at C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\git\lib\spawn.js:36:26
npm verb stack at processTicksAndRejections (node:internal/process/task_queues:96:5)
npm verb cwd F:_projekte\ABTEI_LIESBORN\BESUCHERINFO\release\frontend-besucher-info-router
npm verb Windows_NT 10.0.19044
npm verb argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "vue-plyr" "--verbose"
npm verb node v16.13.0
npm verb npm v8.1.0
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm verb exit -4058
npm timing npm Completed in 2664ms
npm verb unfinished npm timer reify 1657886308115
npm verb unfinished npm timer reify:loadTrees 1657886308128
npm verb code -4058

npm ERR! A complete log of this run can be found in:

@BlackWhite2000
Copy link

The library seems to be installed via github
So the failure to install may be due to lack of access to github.
Consider setting up a proxy to install

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

No branches or pull requests

4 participants