Skip to content

Stuck when installing #70

@Wiacer

Description

@Wiacer

after running npm install --save @eyevinn/srt it eventually gets stuck and just stays on the line written bellow

npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
[##################] - reify:@types/node: timing reifyNode:node_modules/node-gyp Completed in 2470ms

if i hit crtl c and try running the command again it gets stuck on

npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
[##################] | reify:node-gyp: timing reifyNode:node_modules/@types/node Completed in 1811ms

hitting crtl c again i get

npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\node-gyp',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\node-gyp\gyp'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\node-gyp\gyp'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\node-gyp',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\node-gyp\test\fixtures\nodedir\include'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\node-gyp\test\fixtures\nodedir\include'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\@Eyevinn\srt',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules@eyevinn\srt\deps\srt.git\refs\remotes'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules\@Eyevinn\srt\deps\srt\.git\refs\remotes'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules@eyevinn\srt
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npm run build-srt && npm run rebuild
npm ERR! > @eyevinn/srt@0.8.3 build-srt
npm ERR! > node scripts/build-srt-sdk.js
npm ERR!
npm ERR! Creating dir: C:\Users\viksig001\Documents\VGS\Elektro\ElektroTronstadt\StorProsjekt\srt\node_modules@eyevinn\srt\deps
npm ERR! Cloning https://github.com/Haivision/srt.git#v1.5.2
npm ERR! Patch build script

npm ERR! Building SRT SDK and prerequisites for current platform: win32
npm ERR! Building OpenSSL
npm ERR! Terminate batch job (Y/N)?

npm ERR! A complete log of this run can be found in: C:\Users\viksig001\AppData\Local\npm-cache_logs\2024-02-06T22_11_35_653Z-debug-0.log

seeing how it was complaining about not having permission to rmdir i tried running the command in a powershell terminal running as administrator and i got this
image
still stuck
PS, i did delete everything from the previous attempt before this attempt

here is the logfile mentioned in the error message

2024-02-06T22_15_44_104Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions