Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/71.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
Html Angular QuickStart项目无法正常工作((SystemJS)意外标记<;)_Html_Angular_Google Chrome_Typescript_Visual Studio 2015 - Fatal编程技术网

Html Angular QuickStart项目无法正常工作((SystemJS)意外标记<;)

Html Angular QuickStart项目无法正常工作((SystemJS)意外标记<;),html,angular,google-chrome,typescript,visual-studio-2015,Html,Angular,Google Chrome,Typescript,Visual Studio 2015,我遵循了VS2015的指南。当我在google chrome上运行“快速入门”项目或“英雄之旅”教程时,并没有正常工作。(). 我研究了stackoverflow帖子,但每个人对错误的理解都不同 例如: 剑道UI角度:(SystemJS)意外标记我找到了另一种解决方法。遵循此操作并创建新的angular cli项目。如果您使用的是SystemJS和plugin typescript,则应使用“模块”:“系统”@AluanAddad here tsconfig.json:{“编译器选项”:{

我遵循了VS2015的指南。当我在google chrome上运行“快速入门”项目或“英雄之旅”教程时,并没有正常工作。(). 我研究了stackoverflow帖子,但每个人对错误的理解都不同

例如:


  • 剑道UI角度:(SystemJS)意外标记我找到了另一种解决方法。遵循此操作并创建新的angular cli项目。

    如果您使用的是SystemJS和plugin typescript,则应使用
    “模块”:“系统”
    @AluanAddad here tsconfig.json:{“编译器选项”:{“目标”:“es5”,“模块”:“commonjs”,“模块解决方案”:“节点”,“源地图”:true,“emitDecoratorMetadata”:true,“experimentalDecorators”:true,“lib”:[“es2015”,“dom”],“noImplicitAny”:true,“SuppressImplicitanIndexErrors”:true}}我试过你说的。我写的是系统而不是commonjs,但它不起作用。你能把它加到你的问题中吗?