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
I found the solution how to fix "Provider npm is not functional on this host" error. It's also important to note that npm packages are installed into the systemprofile APPDATA directory by default: C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm
So, if we add the following location to the PATH, this will fix npm and allow us to install npm packages:
I've a question after my recent update. Should be the PATH env. variable configuration (or maybe the npm prefix change in config) be a part of the puppet-nodejs module configuration?
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
I'm trying to install node-red package on my Windows machine using npm provider
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:
What behaviour did you expect instead
I'm expecting to be able to install npm packages on Windows machine
The text was updated successfully, but these errors were encountered: