Error running a nodejs server on a Mac, 'no suitable image found' Error running a nodejs server on a Mac, 'no suitable image found' javascript javascript

Error running a nodejs server on a Mac, 'no suitable image found'


Nevermind. Facepalm. The node_modules folder I had was the same that I used/installed in Linux, so I believe that some parts were compiled specifically for Linux, or whatever.

Solved by erasing the node_modules folder and reinstalling.

I hope it helps to anyone with the same doubt!


Follow David Da Silva Contín's answer is great!

$ sudo rm -rf node_modules/$ npm install