"start": "node_modules/forever/bin/forever start services.json",
Error: Cannot find module '/Users/my_user/project_name/node_modules/my-service-one/node_modules/my-service-one/index.js'
rm -rf node_modules
npm cache clean
Have you tried to launch this modules with forever from command line?
This path issue looks like a bug for me, I think the obvious duct-tape type fix is use absolute path in
services.json instead of relative. It will look terrible but it should work.
But I think it's better to install
forever globally (with
-g key) and then use a simple shell script to start your services with forever (two lines with something
forever start /Users/my_user/project_name/node_modules/my-service-one/index.js) - this way works fine for me.
And also it's quite easy to start this script at the boot-up, or even write a script to start and stop your modules as a service.
UPD: This also may helps: