我在azure上部署这个网站,但我无法安装oauth.io bower包,我收到404错误(找不到文件)。这是脚本源的行:
<script src="./app/bower_components/oauth-js/dist/oauth.min.js"></script>
这是项目:
https://github.com/termosfera/tweet-chat
我在deploy.cmd文件中添加以下行但仍无效:
:: 4. Install bower packages
IF EXIST “%DEPLOYMENT_TARGET%\bower.json” (
pushd “%DEPLOYMENT_TARGET%”
call :ExecuteCmd !NPM_CMD! install bower
call :ExecuteCmd bower install
IF !ERRORLEVEL! NEQ 0 goto error
popd
)