sindresorhus / get-windows

Get metadata about the active window and open windows (title, id, bounds, owner, etc)
MIT License
783 stars 161 forks source link

No native build was found for platform=win32 arch=x64 runtime=node abi=64 uv=1 libc=glibc node=10.24.1 #146

Open Git4James opened 2 years ago

Git4James commented 2 years ago

Dear All,

I got the following error using 'active-win'. Please help me solove this error

(node:10104) UnhandledPromiseRejectionWarning: Error: No native build was found for platform=win32 arch=x64 runtime=node abi=64 uv=1 libc=glibc node=10.24.1 loaded from: C:\snapshot\WebApp\node_modules\ref-napi

at Function.load.path (C:\snapshot\WebApp\node_modules\node-gyp-build\index.js:60:9)
at load (C:\snapshot\WebApp\node_modules\node-gyp-build\index.js:22:30)
at Object.<anonymous> (C:\snapshot\WebApp\node_modules\ref-napi\lib\ref.js:8:53)
at Module._compile (pkg/prelude/bootstrap.js:1930:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:651:32)
at tryModuleLoad (internal/modules/cjs/loader.js:591:12)
at Function.Module._load (internal/modules/cjs/loader.js:583:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at Module.require (pkg/prelude/bootstrap.js:1855:31)

(node:10104) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:10104) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.