-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
根据文档创建angular英雄模型 #1
Comments
根据quickstart创建后,运行时候有错误:
D:\js\angular2\quickstart>npm start
> angular-quickstart@1.0.0 prestart D:\js\angular2\quickstart
> npm run build
> angular-quickstart@1.0.0 build D:\js\angular2\quickstart
> tsc -p src/
node_modules/@types/jasmine/index.d.ts(39,52): error TS1005: '=' expected.
去执行quickstart同样报错。看样子可能是npm或者node的原因 从quickstart里面有相同的问题,好像是jasmine的版本不对,可以跟踪: ✅ |
http://blog.csdn.net/woxueliuyun/article/details/39294375 Dependencies { "dependencies" :
{ "foo" : "1.0.0 - 2.9999.9999"
, "bar" : ">=1.0.2 <2.1.2"
, "baz" : ">1.0.2 <=2.3.4"
, "boo" : "2.0.1"
, "qux" : "<1.0.0 || >=2.3.1 <2.4.5 || >=2.5.2 <3.0.0"
, "asd" : "http://asdf.com/asdf.tar.gz"
, "til" : "~1.2"
, "elf" : "~1.2.3"
, "two" : "2.x"
, "thr" : "3.3.x"
}
} 版本格式可以是下面任一种:
|
https://angular.cn/docs/ts/latest/tutorial/toh-pt2.html中的如下内容: ❓ 没看懂在哪里添加 ✅ |
|
Failed to load resource: the server responded with a status of 404 (Not Found) 🏁 |
从效果看,在主页没有显示Top Heroes,需要检查哪里设置的不对。
<h3>Top Heroes</h3>
<a *ngFor="let hero of heroes" [routerLink]="['/detail', hero.id]" class="col-1-4"> |
No description provided.
The text was updated successfully, but these errors were encountered: