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

Error 1 #49

Open
Mohmadmiui opened this issue Aug 17, 2023 · 2 comments
Open

Error 1 #49

Mohmadmiui opened this issue Aug 17, 2023 · 2 comments

Comments

@Mohmadmiui
Copy link

Binary found at C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\v…
│ Testing binary
│ Binary has a problem: Error: \?\C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_mo…
│ \?\C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\vendor\win32-…
│ at Module._extensions..node (node:internal/modules/cjs/loader:1319:18)
│ at Module.load (node:internal/modules/cjs/loader:1091:32)
│ at Module._load (node:internal/modules/cjs/loader:938:12)
│ at Module.require (node:internal/modules/cjs/loader:1115:19)
│ at require (node:internal/modules/helpers:119:18)
│ at module.exports (C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node…
│ at Object. (C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\…
│ at Module._compile (node:internal/modules/cjs/loader:1233:14)
│ at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
│ at Module.load (node:internal/modules/cjs/loader:1091:32) {
│ code: 'ERR_DLOPEN_FAILED'
│ }
│ Building the binary locally
│ Building: C:\Program Files\nodejs\node.exe C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected].…
│ gyp info it worked if it ends with ok
│ gyp verb cli [
│ gyp verb cli 'C:\Program Files\nodejs\node.exe',
│ gyp verb cli 'C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules\.pnpm\[email protected]\node_modules\no…
│ gyp verb cli 'rebuild',
│ gyp verb cli '--verbose',
│ gyp verb cli '--libsass_ext=',
│ gyp verb cli '--libsass_cflags=',
│ gyp verb cli '--libsass_ldflags=',
│ gyp verb cli '--libsass_library='
│ gyp verb cli ]
│ gyp info using [email protected]
│ gyp info using [email protected] | win32 | x64
│ gyp verb command rebuild []
│ gyp verb command clean []
│ gyp verb clean removing "build" directory
│ gyp verb command configure []
│ gyp verb find Python Python is not set from command line or npm configuration
│ gyp verb find Python Python is not set from environment variable PYTHON
│ gyp verb find Python checking if "python3" can be used
│ gyp verb find Python - executing "python3" to get executable path
│ gyp verb find Python - executable path is "C:\Users\Mohmadmiui\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFo…
│ gyp verb find Python - executing "C:\Users\Mohmadmiui\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.…
│ gyp verb find Python - version is "3.10.11"
│ gyp info find Python using Python version 3.10.11 found at "C:\Users\Mohmadmiui\AppData\Local\Microsoft\WindowsApps…
│ gyp verb get node dir no --target version specified, falling back to host node version: 20.5.0
│ gyp verb command install [ '20.5.0' ]
│ gyp verb install input version string "20.5.0"
│ gyp verb install installing version: 20.5.0
│ gyp verb install --ensure was passed, so won't reinstall if already installed
│ gyp verb install version is already installed, need to check "installVersion"
│ gyp verb got "installVersion" 9
│ gyp verb needs "installVersion" 9
│ gyp verb install version is good
│ gyp verb get node dir target node version installed: 20.5.0
│ gyp verb build dir attempting to create "build" dir: C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\nod…
│ gyp verb build dir "build" dir needed to be created? Yes
│ gyp verb find VS msvs_version not set from command line or npm config
│ gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
│ gyp verb find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel sill…
│ gyp verb find VS looking for Visual Studio 2015
│ gyp verb find VS - not found
│ gyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8
│ gyp ERR! find VS
│ gyp ERR! find VS msvs_version not set from command line or npm config
│ gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
│ gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel sill…
│ gyp ERR! find VS looking for Visual Studio 2015
│ gyp ERR! find VS - not found
│ gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
│ gyp ERR! find VS
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS You need to install the latest version of Visual Studio
│ gyp ERR! find VS including the "Desktop development with C++" workload.
│ gyp ERR! find VS For more information consult the documentation at:
│ gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS
│ gyp ERR! configure error
│ gyp ERR! stack Error: Could not find any Visual Studio installation to use
│ gyp ERR! stack at VisualStudioFinder.fail (C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\node-gyp@…
│ gyp ERR! stack at C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-g…
│ gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules…
│ gyp ERR! stack at C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-g…
│ gyp ERR! stack at C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-g…
│ gyp ERR! stack at C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-g…
│ gyp ERR! stack at C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-g…
│ gyp ERR! stack at ChildProcess.exithandler (node:child_process:429:5)
│ gyp ERR! stack at ChildProcess.emit (node:events:514:28)
│ gyp ERR! stack at maybeClose (node:internal/child_process:1105:16)
│ gyp ERR! System Windows_NT 10.0.22621
│ gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules\…
│ gyp ERR! cwd C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-sass
│ gyp ERR! node -v v20.5.0
│ gyp ERR! node-gyp -v v8.4.1
│ gyp ERR! not ok
│ Build failed with error code: 1
└─ Failed in 3.6s at C:\Users\Mohmadmiui\Desktop\MikuGG\miku\node_modules.pnpm\[email protected]\node_modules\node-sass
 ELIFECYCLE  Command failed with exit code 1.
ERROR: Failed to install dependencies.
Press any key to exit.

Laptop. Windows 11 pro. Amd ryzen 3 3250U. Radeon Vega 3. Pls help.

@Mohmadmiui Mohmadmiui changed the title Ошибка 1 Error 1 Aug 17, 2023
@Seantourage
Copy link

Same issue. Latest VS2022 with C++ installed

@phoenix3247
Copy link

│ gyp verb find Python Python is not set from command line or npm configuration

Install node v16 along with chocholaty and other dependencies. it worked for me.

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

3 participants