-
Notifications
You must be signed in to change notification settings - Fork 82
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
Less install failing #8
Comments
Same issue:err: /Stage[main]/Dev-packages/Exec[install less using npm]/returns: change from notrun to 0 failed: npm install less -g returned 1 instead of one of [0] at /tmp/vagrant-puppet/manifests/default.pp:25 Manually executing executing the following on the vagrant box fixed it for me to keep things moving forward:
Complete dump:info: Loading facts in /tmp/vagrant-puppet/modules-0/puppetlabs-stdlib/lib/facter/pe_version.rb puppet apply --verbose --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' --detailed-exitcodes /tmp/vagrant-puppet/manifests/default.pp || [ $? -eq 2 ] Stdout from the command: info: Loading facts in /tmp/vagrant-puppet/modules-0/puppetlabs-stdlib/lib/facter/pe_version.rb sudo apt-get install nodejs |
I added the following in default.pp which seemed to work ... see "enable ability to install npm packages"
|
As resolved by @jgreenman in irmantas#8 It seems to be a common issue for NodeJs
err: /Stage[main]/Dev-packages/Exec[install less using npm]/returns: change from notrun to 0 failed: npm install less -g returned 1 instead of one of [0] at /tmp/vagrant-puppet/manifests/default.pp:25
The text was updated successfully, but these errors were encountered: