-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed as not planned
Closed as not planned
Copy link
Description
Version
24.11.0
Platform
Windows 11 Home
Version 10.0.26200 Build 26200
System Type x64-based PC
BaseBoard Manufacturer ASUSTeK COMPUTER INC.
Subsystem
No response
What steps will reproduce the bug?
run "@richmonkeys/aes-256-gcm" OR "node-aes-gcm" (i'm not too sure which one causes the bug but it's one of them)
How often does it reproduce? Is there a required condition?
Everytime I try installing ffi-napi...
What is the expected behavior? Why is that the expected behavior?
For it to work...
What do you see instead?
npm warn Unknown cli config "--build-from-source". This will stop working in the next major version of npm.
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '\\\\?\\C:\\Users\\USERNAME\\Documents\\NODEJS\\node_modules\\ffi-napi',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\USERNAME\Documents\NODEJS\node_modules\ffi-napi\deps\libffi'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\USERNAME\\Documents\\NODEJS\\node_modules\\ffi-napi\\deps\\libffi'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\USERNAME\Documents\NODEJS\node_modules\ffi-napi
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build
npm error nothing.c
npm error win_delay_load_hook.cc
npm error nothing.vcxproj -> C:\Users\USERNAME\Documents\NODEJS\node_modules\ffi-napi\build\Release\\nothing.lib
npm error Preprocessing assembly file ..\..\..\deps\libffi\src\x86\win64_intel.preasm
npm error '"call"' is not recognized as an internal or external command,
npm error operable program or batch file.
npm error C:\Users\USERNAME\Documents\NODEJS\node_modules\ffi-napi\build\deps\libffi\ffi.targets(34,5): error MSB3721: The command "call "call" "../../../deps/libffi/preprocess_asm.cmd" "../../../deps/libffi/include" "../../../deps/libffi/config/win/x64" "..\..\..\deps\libffi\src\x86\win64_intel.preasm" "Release\obj\ffi\win64_intel.asm"" exited with code 1. [C:\Users\USERNAME\Documents\NODEJS\node_modules\ffi-napi\build\deps\libffi\ffi.vcxproj]
npm error (node:21192) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
npm error (Use `node --trace-deprecation ...` to show where the warning was created)
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@11.4.2
npm error gyp info using node@24.10.0 | win32 | x64
npm error gyp info find Python using Python version 3.11.0 found at "C:\Users\USERNAME\AppData\Local\Programs\Python\Python311\python.exe"
npm error gyp info find VS using VS2022 (17.14.36518.9) found at:
npm error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Users\USERNAME\AppData\Local\Programs\Python\Python311\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\\Users\\USERNAME\\miniconda3\\envs\\node-24\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\USERNAME\\Documents\\NODEJS\\node_modules\\ffi-napi\\build\\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\USERNAME\\miniconda3\\envs\\node-24\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\USERNAME\\AppData\\Local\\node-gyp\\Cache\\24.10.0\\include\\node\\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\\Users\\USERNAME\\AppData\\Local\\node-gyp\\Cache\\24.10.0',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\USERNAME\\miniconda3\\envs\\node-24\\node_modules\\npm\\node_modules\\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\USERNAME\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\24.10.0\\\\<(target_arch)\\\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\\Users\\USERNAME\\Documents\\NODEJS\\node_modules\\ffi-napi',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\\Users\\USERNAME\\Documents\\NODEJS\\node_modules\\ffi-napi\\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build/binding.sln',
npm error gyp info spawn args '/clp:Verbosity=minimal',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/nodeReuse:false',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\USERNAME\miniconda3\envs\node-24\node_modules\npm\node_modules\node-gyp\lib\build.js:219:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:508:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.26200
npm error gyp ERR! command "C:\\Users\\USERNAME\\miniconda3\\envs\\node-24\\node.exe" "C:\\Users\\USERNAME\\miniconda3\\envs\\node-24\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\USERNAME\Documents\NODEJS\node_modules\ffi-napi
npm error gyp ERR! node -v v24.10.0
npm error gyp ERR! node-gyp -v v11.4.2
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\USERNAME\AppData\Local\npm-cache\_logs\2025-11-02T02_04_43_465Z-debug-0.log
Additional information
All i did was run either "npm install node-aes-gcm" OR "npm install @richmonkeys/aes-256-gcm" and all the sudden ffi-napi will not compile, i thought it was every package before editing, just checked and it's only ffi-napi from what i've derived.
Metadata
Metadata
Assignees
Labels
No labels