keymetrics / pm2-plus-tech-questions

http://docs.keymetrics.io/docs/pages/faq-troubleshooting/
27 stars 3 forks source link

Access local Node Modules #273

Open infinitytmbots opened 3 years ago

infinitytmbots commented 3 years ago

How can I let pm2 access the local node modules? For instance, the local node module folder is ./node_modules pm2 is located at ./node_modules/pm2 Currently pm2 fetches node modules from ./node_modules/pm2/node_modules I want pm2 to fetch node modules from ./node-modules