Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 冲击:测试角度2最终冲击不工作_Angular_Plunker - Fatal编程技术网

Angular 冲击:测试角度2最终冲击不工作

Angular 冲击:测试角度2最终冲击不工作,angular,plunker,Angular,Plunker,有人能告诉我为什么我使用的Angular 2最终测试Plunk()不起作用吗 我在控制台上遇到此错误: Refused to display 'https://run.plnkr.co/QdUdeWWKa25MFN9V/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. https://run.plnkr.co/QdUdeWWKa25MFN9V/ Failed to load resource: the server re

有人能告诉我为什么我使用的Angular 2最终测试Plunk()不起作用吗

我在控制台上遇到此错误:

Refused to display 'https://run.plnkr.co/QdUdeWWKa25MFN9V/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
https://run.plnkr.co/QdUdeWWKa25MFN9V/ Failed to load resource: the server responded with a status of 522 ()

没有什么问题,

1) app.component应该在app文件夹中
2) 应用程序模块文件应位于应用程序文件夹中
3) 在systemjs.config.js文件中,需要参考rxjs库。
4) 已从导入:[BrowserModule,…]中删除
路由

工作演示:


另一个原因是,Plunker的运行服务器最近承受着前所未有的负载,并且受到间歇性停机的影响。自那以后,它的规模扩大了,表现更好。
'rxjs':  'npm:rxjs',