vue-nodegui icon indicating copy to clipboard operation
vue-nodegui copied to clipboard

Error installing.

Open DoormatIka opened this issue 2 years ago • 1 comments

I followed the instructions from this link (https://github.com/nodegui/vue-nodegui-starter) and it didn't work for some reason.

PS C:\Users\Thaddea\Documents\Visual Studio 2021S+\Programming\js\tests\guiytdl> cd vue-nodegui-starter
PS C:\Users\Thaddea\Documents\Visual Studio 2021S+\Programming\js\tests\guiytdl\vue-nodegui-starter> npm install    
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN deprecated [email protected]: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path C:\Users\Thaddea\Documents\Visual Studio 2021S+\Programming\js\tests\guiytdl\vue-nodegui-starter\node_modules\@nodegui\nodegui
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)
npm ERR! > @nodegui/[email protected] setupqt
npm ERR! > cross-env node ./scripts/setupMiniQt.js
npm ERR!
npm ERR! Minimal Qt 5.14.1 setup:
npm ERR! Extracting C:\Users\Thaddea\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z to C:\Users\Thaddea\Documents\Visual Studio 2021S+\Programming\js\tests\guiytdl\vue-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
npm ERR! Extracting C:\Users\Thaddea\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z to C:\Users\Thaddea\Documents\Visual Studio 2021S+\Programming\js\tests\guiytdl\vue-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
npm ERR! npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! Archive already exists at C:\Users\Thaddea\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z. Skipping download....
npm ERR! Archive already exists at C:\Users\Thaddea\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z. Skipping download....
npm ERR! Error: Exited with code 2
npm ERR!     at ChildProcess.<anonymous> (C:\Users\Thaddea\Documents\Visual Studio 2021S+\Programming\js\tests\guiytdl\vue-nodegui-starter\node_modules\7zip-min\index.js:64:19)
npm ERR!     at ChildProcess.emit (node:events:527:28)
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Thaddea\AppData\Local\npm-cache\_logs\2022-08-13T05_24_45_292Z-debug-0.log

DoormatIka avatar Aug 13 '22 05:08 DoormatIka

Nvm I found a solution:

Just delete both the C:\Users\[Username here]\AppData\Local\nodegui-mini-qt-nodejs and C:\Users\[Username here]\AppData\Local\nodegui-mini-qt-nodejs foldeers

DoormatIka avatar Aug 13 '22 08:08 DoormatIka