You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
你好:
我在中文官网中按照 Visual Studio 2015 中新建 angular2 quickstart 项目并架设到本地IIS,并能很好的运行,但在我添加其他组件并需要注入http组件时,则出现“Make sure that all the parameters are decorated with Inject or have valid type annotations and that 'DemoService' is decorated with Injectable”错误,
后来我尝试使用 npm start 编译并启动 quickstart 项目时,却能很好的运行。
关于使用visual studio 编译typescript 和 npm 在注入方面有什么区别吗,或您有关于此问题的建议吗?
The text was updated successfully, but these errors were encountered:
你好:
我在中文官网中按照 Visual Studio 2015 中新建 angular2 quickstart 项目并架设到本地IIS,并能很好的运行,但在我添加其他组件并需要注入http组件时,则出现“Make sure that all the parameters are decorated with Inject or have valid type annotations and that 'DemoService' is decorated with Injectable”错误,
后来我尝试使用 npm start 编译并启动 quickstart 项目时,却能很好的运行。
关于使用visual studio 编译typescript 和 npm 在注入方面有什么区别吗,或您有关于此问题的建议吗?
The text was updated successfully, but these errors were encountered: