1
我在使用angular-cli時出現以下錯誤。Angular2錯誤標記必須定義
Error: Token must be defined!
at new ReflectiveKey (http://localhost:4200/vendor.bundle.js:48893:19) [angular]
at KeyRegistry.get (http://localhost:4200/vendor.bundle.js:48946:39) [angular]
at Function.ReflectiveKey.get (http://localhost:4200/vendor.bundle.js:48911:35) [angular]
at ReflectiveInjector_.get (http://localhost:4200/vendor.bundle.js:117530:102) [angular]
at AppModuleInjector.NgModuleInjector.get (http://localhost:4200/vendor.bundle.js:66988:52) [angular]
at RouterInitializer.appInitializer (http://localhost:4200/vendor.bundle.js:73780:48) [angular]
at new ApplicationInitStatus (http://localhost:4200/vendor.bundle.js:46874:45) [angular]
at AppModuleInjector.createInternal (/AppModule/module.ngfactory.js:424:36) [angular]
at AppModuleInjector.NgModuleInjector.create (http://localhost:4200/vendor.bundle.js:66971:76) [angular]
at NgModuleFactory.create (http://localhost:4200/vendor.bundle.js:66939:18) [angular]
at http://localhost:4200/vendor.bundle.js:47309:61 [angular]
at Object.onInvoke (http://localhost:4200/vendor.bundle.js:37314:37) [angular]
請張貼完整的錯誤消息文本。 –
你能提供更多的信息嗎? –
這是我從瀏覽器獲得的唯一信息,我無法運行我的應用程序。我正在使用angular-cli – Rohit