Skip to content

Instantly share code, notes, and snippets.

@ProximaB
Created August 16, 2024 06:09
Show Gist options
  • Save ProximaB/e811680d1bcfd4f8dd964e11b8c99cd7 to your computer and use it in GitHub Desktop.
Save ProximaB/e811680d1bcfd4f8dd964e11b8c99cd7 to your computer and use it in GitHub Desktop.
Wow, I got similar problems, and guess what, I zipped repository from my other computer, unpacked and compared with the project I have just cloned, and didn't see the difference, but the error is not present and I am able to code.
Btw I tried removing cache, node modules catalog, reinstalling node, changing version, deleting package lock file etc.
src\node_modules\nx\src\native\native-bindings.js:244
npm error throw loadError
npm error ^
npm error
npm error Error: The specified module could not be found.
npm error \\?\C:\Users\...\src\.nx\cache\18.3.5-nx.win3npm error \\?\C:\Users\...\src\.nx\cache\18.3.5-nx.win32-x64-msvc.node
npm error at Module.load (node:internal/modules/cjs/loader:1317:32)
npm error at Module._load (node:internal/modules/cjs/loader:1127:12)
npm error at Module._load (C:\Users\brtk\...\nx\src\native\index.js:58:27)
npm error at TracingChannel.traceSync (node:diagnostics_channel:315:14)
npm error at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
npm error at Module.require (node:internal/modules/cjs/loader:1339:12)
npm error at require (node:internal/modules/helpers:125:16)
npm error at Object.<anonymous> (C:\Users\....\node_modules\nx\src\native\native-bindings.js:66:29)
npm error at Module._compile (node:internal/modules/cjs/loader:1546:14) {
npm error code: 'ERR_DLOPEN_FAILED'
npm error }
npm error
Update: I had to install the Visual C++ Redistributable installs Microsoft C and C++ (MSVC) runtime libraries.
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 On the other pc I had visual studio preinstalled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment