You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I try to install most packages, they fail with the signal SIGSEGV. I've tried everything, every solution on google, uninstalling and reinstalling node, etc. Nothing works. I have no errors with nothing else. This error started when I installed Endeavour OS yesterday, and node just hasn't worked even though it works fine on literally everything else.
Extra Info:
My project is stored on a NTFS drive, and for some reason every time I use it, I have to use ntfsfix.
I'm cloning the project from the Github Desktop app.
I'm using vscode.
I have the NPM version 10.9.2, and the node version v20.11.1
I've tried the lts, v18, v20.11.1, the latest version, and none of them work.
Sorry but this likely means the problem is on your end. You will have to debug this yourself. Since esbuild is a binary executable, it is platform-specific once installed.
Getting a SIGSEGV here likely means the version of esbuild that was installed by npm isn't for your current platform. This can happen in various situations such as when you run npm using a different OS and/or architecture than the one that esbuild runs with (e.g. when running Linux on Windows, or when running x86 npm on ARM macOS). The specifics of how to debug and fix this misconfiguration depends on the situation. The esbuild package uses node's process.platform and os.arch() APIs to determine what the appropriate platform is. It could be that this is misconfigured on your system.
It could also be that esbuild's executable is for the correct platform, but something about your configured OS cannot run the executable (I know nothing about Endeavour OS). You'd know whether that's the case or not if you download and compile esbuild yourself and even that doesn't work (install the Go compiler + git clone https://github.com/evanw/esbuild + go build ./cmd/esbuild + ./esbuild --version). If that works then there's something wrong with your npm and you should be able to fix it. But if that doesn't work, then something is really wrong and esbuild may not work on your OS.
Another workaround is to use the esbuild-wasm package, which likely works if node works on your OS because the WASM file is interpreted by node instead of being executed by the OS.
Every time I try to install most packages, they fail with the signal SIGSEGV. I've tried everything, every solution on google, uninstalling and reinstalling node, etc. Nothing works. I have no errors with nothing else. This error started when I installed Endeavour OS yesterday, and node just hasn't worked even though it works fine on literally everything else.
Extra Info:
My project is stored on a NTFS drive, and for some reason every time I use it, I have to use ntfsfix.
I'm cloning the project from the Github Desktop app.
I'm using vscode.
I have the NPM version 10.9.2, and the node version v20.11.1
I've tried the lts, v18, v20.11.1, the latest version, and none of them work.
System info:
https://imgur.com/a/OOx5KRc
The error:
The text was updated successfully, but these errors were encountered: