-
Notifications
You must be signed in to change notification settings - Fork 17
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
Problem installing after initial install #29
Comments
Hi @vernak2539, This is related to poise/poise-javascript#4. In a nutshell, npm versions If you're doing a clean install, a nasty workaround is to pin your npm version (by setting node['pm2']['npm_version']) to Not quite sure how we should handle this from the pm2 cookbook point of view, we could potentially pin the npm version on this cookbook but that won't converge successfully on re-converges. |
To clarify, if you pin your npm version to It is just if you have a node with npm version |
Okay, that all makes sense. Thanks for the info! The thing is the box we're using is being "re-converged". What do you think would be a potential workaround? Remove npm directory before the pm2 install? Open to all suggestions. Will try stuff today to figure it out |
Also, I tried to do a "clean install" by removing all references to node and npm, the symlink was a think I wouldn't have caught for a while, so thanks for that. But, I also had to delete the following folder to get it to work |
Sorry for the late response but i think i solved this issue using a minor code change; Two thing to keep in mind :
|
So as far as I understand this cookbook is essentially unusable? I can't get even the simplest recipe https://gist.github.com/PavelPenkov/f35e595ed48f30eeaa8d4e360dd29a8e to work. |
This cookbook is no longer actively maintained, as such I've marked it for adoption on supermarket. Will gladly transfer ownership to anyone that's able to perform active maintenance tasks. |
I'm having some trouble getting the pm2 chef install to work. It's been working fine, but seems to have just stopped. I've put the error below and the different attributes I've tried.
Have been able to replicate using test kitchen, and it seems to happen after the original "chef" of the image/box.
Any help would be much appreciated!
Try 1 Attributes
Try 2 Attributes
Try 3 Attributes
The text was updated successfully, but these errors were encountered: