[英]Strongloop tutorial running error
I am going through the Strongloop documentation. 我正在阅读Strongloop文档。 In the tutorial Add a client app I followed the steps that are given. 在教程“ 添加客户端应用程序”中,我按照给出的步骤进行操作。 I am able to run the app with slc run
without error. 我能够使用slc run
来运行应用程序而不会出现错误。 But when checked in the browser there is error that angular is not defined
in app.js
. 但是在浏览器中检查时,出现错误,即app.js
angular is not defined
。
In case if I include angular.js from google ie just uncomment in app.js 如果我包括来自Google的angular.js,即在app.js中取消注释
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.4/angular.min.js"></script>
There is error on browser: 浏览器上有错误:
Error: [$injector:modulerr] .....
So what could have gone wrong? 那么可能出了什么问题?
The example is outdated, we have a new tutorial here: https://github.com/strongloop/loopback-getting-started
. 该示例已过时,我们在此处有了新教程: https://github.com/strongloop/loopback-getting-started
: https://github.com/strongloop/loopback-getting-started
。 Let me know if that helps. 让我知道是否有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.