Comments (5)
I'm getting the same error.
I think it's because the npm
package isn't available in the CentOS repositories. However the project site states that it should work on RedHat, and CentOS is a derivative of RedHat.
Any help or input would be nice.
from puppet-nodejs.
Okay, I was a bit too quick on the trigger there. I got the following to work. note the manage_repo
flag.
class { 'nodejs':
manage_repo => true
}
package { 'jshint':
provider => 'npm'
}
from puppet-nodejs.
I get the following error when I try this:
Error: Invalid parameter manage_repo at /tmp/vagrant-puppet/manifests/base.pp:
from puppet-nodejs.
Also experiencing this problem, just started in the last week or two. I'm running both EPEL and REMI package sources, so npm is definitely available, and it does successfully install:
Notice: /Stage[main]/Nodejs/Package[nodejs]/ensure: created
Notice: /Stage[main]/Nodejs/Package[npm]/ensure: created
If I re-run the provisioning then the npm modules install fine, so this might be an order of operations issue.
from puppet-nodejs.
Whatever the problem was, it should no longer be occurring.
from puppet-nodejs.
Related Issues (20)
- Release for puppet 6? HOT 2
- apt and yum resources are not listed as dependencies HOT 4
- Linux mint requires a second run HOT 1
- Update docs to mention additional soft dependencies HOT 2
- nodejs_package_ensure won't upgrade my node (RHEL 7)
- Add Debian 10 (Buster) support HOT 3
- Issues with puppet agent 6.8.0 HOT 6
- Missing dependency on package resource that installs NPM when using the nodesource repository HOT 1
- Release bump
- Error "Package 'nodejs-dev' has no installation candidate" on Ubuntu 20.04
- Debian 8 EOL notice!
- Using @bundle/package@version with npm keeps installing the packages
- nodejs::npm::global_config_entry cannot work on a platform that puts npm into a different path
- npm/global_config_entry.pp: refactor to use inifile
- Evaluation Error: Operator '[]' is not applicable to an Undef Value - Ubuntu 20.04 HOT 2
- Puppet runs Exec[npm_install_NPM dependencies] every run
- Issue with nodejs repo and npm package conflict HOT 2
- Cannot install packages with npm provider on Windows HOT 2
- npm provider fails when executed as a daemon HOT 1
- tag the release for debian 11 compatibily please. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-nodejs.