nodegui / vue-nodegui

Build performant, native and cross-platform desktop applications with native Vue + powerful CSS like styling.🚀
https://vue.nodegui.org
MIT License
805 stars 28 forks source link

Error installing. #91

Open DoormatIka opened 2 years ago

DoormatIka commented 2 years ago

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 ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated debug@4.2.0: 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 source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: 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/nodegui@0.25.0 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 commented 2 years ago

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