npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Segmentation fault (core dumped)

Hi, all.

I’m trying to use npm on my SO (Ubuntu Disco Dingo) to build a new project, but every time I try to send a command (npm init, npm -v, whatever…) I receive this error message (Segmentation fault (core dumped)).
I searched and tried to fix this problem with many different ways that I found in the internet, but I still didn’t find the solution.
My npm version is 5.8.0+ds6-3.
I really appreciate if someone could help me to solve this trouble.

npm is written in javascript and run using node. It sounds like node is crashing. Do you see same error with:

node --version