-
-
Notifications
You must be signed in to change notification settings - Fork 242
Open
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.21.1
- Ruby: -
- Distribution: Windows 10 Pro
- Module version: 9.0.1
How to reproduce (e.g Puppet code you use)
I'm trying to install node-red package on my Windows machine using npm provider
class { 'nodejs': }
package { 'node-red':
ensure => 'present',
provider => 'npm',
install_options => ['--unsafe-perm'],
require => Class['nodejs'],
}What are you seeing
I'm getting the following error:
Package[node-red]: Provider npm is not functional on this host
But both NodeJS and npm are installed on the system and added to PATH:
PS C:\> node -v; npm -v
v17.5.0
8.4.1
What behaviour did you expect instead
I'm expecting to be able to install npm packages on Windows machine
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels