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
All of my nodejs::npm::global_config_entry are failing, because the code isn't made to run on anything the author didn't anticipate. but it comes down to two things:
npm_path defaults to $nodejs::params::npm_path rather than $nodejs::npm_path, which is wrong. $nodejs::params::npm_path for FreeBSD is also set to /usr/bin/npm rather than /usr/local/bin/npm.
next, we have a hard-coded path of /usr/bin/test, which on FreeBSD is located in /bin/test.
Both of these seem… unnecessary. If the PATH is correct, we shouldn't have to hard-code path, unless they are extremely esoteric.
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
All of my
nodejs::npm::global_config_entry
are failing, because the code isn't made to run on anything the author didn't anticipate. but it comes down to two things:npm_path
defaults to$nodejs::params::npm_path
rather than$nodejs::npm_path
, which is wrong.$nodejs::params::npm_path
for FreeBSD is also set to/usr/bin/npm
rather than/usr/local/bin/npm
.next, we have a hard-coded path of
/usr/bin/test
, which on FreeBSD is located in/bin/test
.Both of these seem… unnecessary. If the
PATH
is correct, we shouldn't have to hard-code path, unless they are extremely esoteric.The text was updated successfully, but these errors were encountered: