The latest version has a npm-loader.js file that loads a prebuilt version (darwin-arm64, darwin-x64, linux-arm64, linux-x64, win32-arm64, win32-x64) by default, and if that fails it loads the local index.js. So for this patch to work we also need to comment out the lines that load the prebuilt version.
The latest version has a npm-loader.js file that loads a prebuilt version (darwin-arm64, darwin-x64, linux-arm64, linux-x64, win32-arm64, win32-x64) by default, and if that fails it loads the local index.js. So for this patch to work we also need to comment out the lines that load the prebuilt version.