You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a CentOS 6 system (ruby 1.8.7!) the npm provider with the new syntax in your module version 2 does not work anymore. I get the following error
Error: Could not autoload puppet/provider/package/npm: /root/nodejs/lib/puppet/provider/package/npm.rb:3: syntax error, unexpected ':', expecting $end
...package).provide :npm, parent: Puppet::Provider::Package do
^
Error: Could not run: Could not retrieve facts for localhost.fritz.box: Could not autoload puppet/provider/package/npm: /root/nodejs/lib/puppet/provider/package/npm.rb:3: syntax error, unexpected ':', expecting $end
...package).provide :npm, parent: Puppet::Provider::Package do
Thanks for investigating.
The text was updated successfully, but these errors were encountered:
Hi,
with the 2.X releases of the module we dropped ruby1.8 support. Please use the older releases, or upgrade to centos7 or switch to the new puppet AIO packages. They ship a bundled ruby version which is newer. You can always contact us at #voxpupuli on freenode if you need any help for any of the steps.
Hey I'm still seeing this issue on 2.3.0, which claims to have Puppet 3 support. I'm currently on Puppet v3.8.7, does anyone know if that is bundled with ruby 1.8? Does the puppet-nodejs module support that version of ruby?
On a CentOS 6 system (ruby 1.8.7!) the npm provider with the new syntax in your module version 2 does not work anymore. I get the following error
Thanks for investigating.
The text was updated successfully, but these errors were encountered: