pm2-nginx icon indicating copy to clipboard operation
pm2-nginx copied to clipboard

Unknown module

Open lklepner opened this issue 9 years ago • 4 comments

I tried installing under pm2 v 0.15.10 and got an error that the module was unknown.

$ pm2 install pm2-nginx [PM2][Module] Installing module pm2-nginx [PM2][Module] Processing... ..[PM2][Module][ERROR] Unknown module

lklepner avatar Nov 22 '15 02:11 lklepner

I got the same error, still in development this module?

mark-veenstra avatar Jan 05 '16 14:01 mark-veenstra

Its not published to NPM yet (the default way to install). You can install it via git with pm2 install https://github.com/pm2-hive/pm2-nginx but it currently fails with

So I guess its still in development.

Error: Cannot find module '/home/topbonus/.pm2/node_modules/package.json'

crunchtime-ali avatar Jan 15 '16 03:01 crunchtime-ali

I have the same error

zauker avatar Jan 18 '16 10:01 zauker

try the following:

git clone https://github.com/pm2-hive/pm2-nginx
pm2 install ./pm2-nginx/

I've been working on some where I had to install after cloning, and to avoid the Cannot find module and the like the approach above is what worked for me.

kenjones-cisco avatar Feb 25 '16 01:02 kenjones-cisco