尝试让我的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
答案 0 :(得分:0)
添加了从npm prefix -g到全局路径的路径,并再次使用-g安装了bower。
return calendar.timegm(datetime.utcnow().timetuple())