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
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Since the Puppet Windows Service runs under the SYSTEM account when we try to invoke "lets say bower from the command line logged as a different user" we have errors complaining about command not found.
If we run the same Puppet Windows Service with the same user then everything works fine.
It seems that the packages go to C:\Users\<username>\AppData\Roaming\npm and sets a USER Environment Variable PATH. When executed as the local SYSTEM account i was not able to find the local path of the bower.cmd.
The text was updated successfully, but these errors were encountered:
This has been a problem for awhile. I install everything local to run applications . This is bad when middle tier IT is handed the projects and can't install things correctly. Many enterprise run on windows servers (yuck I know), but they do. If the IT folks complain it gives upper management the excuse to not use node even if our development team want to and know why we should.
We have puppet to provision some windows environments which also install nodejs for windows. We tried to install certain packages like this...
Since the Puppet Windows Service runs under the SYSTEM account when we try to invoke "lets say bower from the command line logged as a different user" we have errors complaining about command not found.
If we run the same Puppet Windows Service with the same user then everything works fine.
It seems that the packages go to
C:\Users\<username>\AppData\Roaming\npm
and sets a USER Environment Variable PATH. When executed as the local SYSTEM account i was not able to find the local path of the bower.cmd.The text was updated successfully, but these errors were encountered: