help icon indicating copy to clipboard operation
help copied to clipboard

Segmentation fault (core dumped) when run executable file

Open sudospaes opened this issue 1 year ago • 2 comments

Node.js Version

v22.2.0

NPM Version

v10.8.1

Operating System

Arch linux - kernel v6.9.3

Subsystem

v8

Description

I followed the node documentation to create an executable file. All the steps went well, but when I run the binary file, I get this output.

my code (just for test) :

console.log("Hello");
./hello
output : Segmentation fault (core dumped)

Minimal Reproduction

No response

Output

No response

Before You Submit

  • [X] I have looked for issues that already exist before submitting this
  • [X] My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask

sudospaes avatar Jun 08 '24 10:06 sudospaes