-
Notifications
You must be signed in to change notification settings - Fork 24
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
Windows install fail: Node packages depreciated #154
Comments
Having the same probem :( |
Sadly, no. And it seems like no one is going to reply. |
I managed to fix it, make sure you have NodeJS version 16 (must be exactly version 16), and also its important that you checked the "install chocolatey" or smt like that when you install it. Then run a NodeJS terminal and run this code "corepack enable pnpm", after that it you may open install.bat and it works OBS: Also make sure to add NodeJS to your system PATH |
Quick update: now you need NodeJS version 18 (work for me) |
I get an eventual error when trying to run the install.bat
I am running nodejs 20.17.0 LTS
system specs:
windows 11 os build-22635.4082
Intel(R) Core(TM) i9-14900KF 3.20 GHz
128gb ram
3090 RTX 24gb ( x 2 )
This is the output until it freezes up
F:\miku>install.bat
Checking if Node.js is installed...
Node.js is installed.
Installing Node.js dependencies...
changed 2 packages in 1s
1 package is looking for funding
run
npm fund
for detailspackages/ui-kit | WARN The field "resolutions" was found in F:\miku\packages\ui-kit/package.json. This will not take effect. You should configure "resolutions" at the root of the workspace instead.
Scope: all 10 workspace projects
apps/novel-builder | WARN Installing a dependency from a non-existent directory: F:\miku\apps\novel-builder\multiformats\hashes\digest
apps/novel-builder | WARN deprecated @types/[email protected]
apps/novel-builder | WARN deprecated [email protected]
packages/ui-kit | WARN deprecated [email protected]
packages/ui-kit | WARN deprecated [email protected]
packages/ui-kit | WARN deprecated [email protected]
WARN 99 deprecated subdependencies found: @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @humanwhocodes/[email protected], @humanwhocodes/[email protected], @humanwhocodes/[email protected], @humanwhocodes/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @npmcli/[email protected], @npmcli/[email protected], @types/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Packages: +1192
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1807, reused 1712, downloaded 0, added 0, done
node_modules/.pnpm/[email protected]/node_modules/node-sass: Running install script, done in 12.8s
node_modules/.pnpm/[email protected]/node_modules/node-sass: Running postinstall script, failed in 11m 23.9s
.../node_modules/node-sass postinstall$ node scripts/build.js
│ Binary found at F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\vendor\win32-x64-115\binding.node
│ Testing binary
│ Binary has a problem: Error: \?\F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\vendor\win32-x64-115\binding.node is not a valid Win32 application.
│ \?\F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\vendor\win32-x64-115\binding.node
│ at Module._extensions..node (node:internal/modules/cjs/loader:1586:18)
│ at Module.load (node:internal/modules/cjs/loader:1288:32)
│ at Module._load (node:internal/modules/cjs/loader:1104:12)
│ at Module.require (node:internal/modules/cjs/loader:1311:19)
│ at require (node:internal/modules/helpers:179:18)
│ at module.exports (F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\lib\binding.js:19:10)
│ at Object. (F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\lib\index.js:13:35)
│ at Module._compile (node:internal/modules/cjs/loader:1469:14)
│ at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
│ at Module.load (node:internal/modules/cjs/loader:1288:32) {
│ code: 'ERR_DLOPEN_FAILED'
│ }
│ Building the binary locally
**lots of compiling output here
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1151,5): error MSB6006: "link.exe" exited with code -1073741819. [F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass\build\binding.vcxproj]
│ 124 Warning(s)
│ 1 Error(s)
│ Time Elapsed 00:11:16.02
│ gyp ERR! build error
│ gyp ERR! stack Error:
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe
failed with exit code: 1│ gyp ERR! stack at ChildProcess.onExit (F:\miku\node_modules.pnpm\[email protected]\node_modules\node-gyp\lib\build.js:194:23)
│ gyp ERR! stack at ChildProcess.emit (node:events:519:28)
│ gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
│ gyp ERR! System Windows_NT 10.0.22635
│ gyp ERR! command "C:\Program Files\nodejs\node.exe" "F:\miku\node_modules\.pnpm\[email protected]\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
│ gyp ERR! cwd F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass
│ gyp ERR! node -v v20.17.0
│ gyp ERR! node-gyp -v v8.4.1
│ gyp ERR! not ok
│ Build failed with error code: 1
└─ Failed in 11m 23.9s at F:\miku\node_modules.pnpm\[email protected]\node_modules\node-sass
ELIFECYCLE Command failed with exit code 1.
ERROR: Failed to install dependencies.
The text was updated successfully, but these errors were encountered: