-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Installation on CentOS 7 fails, can't remove npm package #287
Comments
@Aethylred is this still an issue with the most recent version? |
Bump
|
No response, closing |
Sorry to say that this is still a problem. The gist of the issue appears to be that nodejs is getting installed from the nodesource repository, but npm is getting installed from epel. The version of npm in epel relies on the version of nodejs in epel, which is much older that the version in nodesource. |
+1 - I can't work out a workaround either, makes the module unuseable on CentOS7 for me. Using puppet-epel not stahnma-epel. |
If you use nodejs from Nodesource on CentOS 7 you should set npm_package_ensure => 'absent' because the nodejs package on Nodesource already contains the npm binary. It also states this in the documentation of the module although you might have to read more than the first two lines ;) No TL;DR here. |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Using
puppet-nodejs
andstahnma-epel
What are you seeing
Puppet run fails as it's trying to remove a package depended on by the nodejs package
What behaviour did you expect instead
That nodejs would install with dependencies
Output log
Any additional information you'd like to impart
Forcing
npm
package to install is a work around:The text was updated successfully, but these errors were encountered: