-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rolling-deploy
example relies on nodejs_forever
which was removed from geerlingguy.nodejs
#60
Comments
Oops! I'll have to fix that. The best way to get it installed in the mean time is with: nodejs_npm_global_packages:
- forever Or with a version: nodejs_npm_global_packages:
- name: forever
version: 0.15.3 |
Thanks for the quick response! Unfortunately, I tried adding this variable to Thanks for your help :) |
@mattjmcnaughton - I'm taking a look at this now. |
Yeah, in this case it looks like there's some extra trickery going on to get forever into the path Two options are to:
|
@mattjmcnaughton - Aha! It looks like I had to set the following vars: nodejs_install_npm_user: root
npm_config_prefix: "/usr"
nodejs_npm_global_packages:
- forever Because that new config prefix is the parent directory inside which Node.js' global installs will be in the |
I was working my way through the
rolling-deploy
example and noticed that any commands involvingforever
failed with'No such file or directory'
. I then noticed that this commit togeerlingguy.nodejs
removed thenodejs_forever
variable. However,rolling-deploy
still setsnodejs_forever: true
inprovision.yml
to installforever
.What is the best way to install
forever
with the newest version of thegeerlingguy.nodejs
role.Thanks for an awesome book :)
The text was updated successfully, but these errors were encountered: