Bower从网络服务帐户安装

时间:2017-01-12 07:14:13

标签: node.js bower

尝试让我的TFS代理运行bower安装,但它看起来不像是从Network Servcice帐户运行bower吗?

C:\>npm -g list
C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\npm
`-- bower@1.8.0

C:\>npm install -g bower
C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\npm\bower -> C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\npm\node_modules\bower\bin\bower
C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\npm
`-- bower@1.8.0

C:\>bower
'bower' is not recognized as an internal or external command, operable program or batch file.

还尝试将C:\ Program Files \ nodejs \ node_modules \ bower \ bin添加到全局PATH

1 个答案:

答案 0 :(得分:0)

使用npm github

的帮助

添加了从npm prefix -g到全局路径的路径,并再次使用-g安装了bower。

return calendar.timegm(datetime.utcnow().timetuple())