未捕获的ReferenceError:角没有定义 - Mean.IO [英] Uncaught ReferenceError: angular is not defined - Mean.IO
问题描述
我按照步骤安装 mean.io,但是当我浏览本地主机:3000我得到一个空白页当我打开控制台我得到指向同样的错误文件的列表:
I have followed the steps to install mean.io, but when I browse the localhost:3000 I get a blank page and when I open the console I get a list of files pointing to the same error:
未捕获的ReferenceError:角没有定义
我的问题是类似的东西这个,但我重新安装了凉亭,并没有工作,我M仍然得到错误。
my issue is something similar to this, but I re-installed bower and it didn't work I'm still getting the error.
我想在Ubuntu安装此14.04
I'm trying to install this in ubuntu 14.04
这是屏幕,我得到:
我是否需要进行某种修改任何脚本,文件引用或配置,有什么建议?
Do I need to perform some sort of modification to any script, file reference or configuration, any suggestions?
推荐答案
我有同样的问题,我用这种方式解决:
I had the same problem and I solved in this way:
您需要安装或重新安装亭子
检查bower.json文件,它应该是这个样子:
Check your bower.json file, it should look something like this:
{
"name": "mean",
"version": "0.3.0",
"dependencies": {
"angular": "latest",
"angular-resource": "latest",
"angular-cookies": "latest",
"angular-mocks": "latest",
"angular-route": "latest",
"bootstrap": "latest",
"angular-bootstrap": "0.10.0",
"angular-ui-router": "#master"
}
}
然后运行以下命令:
sudo的凉亭安装--allow根
这将在项目安装到角
这篇关于未捕获的ReferenceError:角没有定义 - Mean.IO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!