EditableTableModule:angular 4 Uncaught Error:Unexpected value' EditableTableModule'由模块宣布的AppModule'

时间:2017-11-10 10:40:08

标签: angular npm datatable

在尝试实施EditableTableModule时,我收到了此错误日志:

  

未捕获错误:意外值' EditableTableModule'由...宣布   模块' AppModule'。请添加@ Pipe / @ Directive / @ Component   注解。       在syntaxError(vendor.bundle.js:56199)       在vendor.bundle.js:69951       在Array.forEach()       at CompileMetadataResolver.webpackJsonp ... / .. / .. / compiler/@angular/compiler.es5.js.CompileMetadataResolver.getNgModuleMetadata   (vendor.bundle.js:69933)       在JitCompiler.webpackJsonp ... / .. / .. / compiler/@angular/compiler.es5.js.JitCompiler._loadModules   (vendor.bundle.js:81331)       在JitCompiler.webpackJsonp ... / .. / ../ compiler /@angular/compiler.es5.js.JitCompiler。 compileModuleAndComponents   (vendor.bundle.js:81304)       在JitCompiler.webpackJsonp ... / .. / ../ compiler /@angular/compiler.es5.js.JitCompiler.compileModuleAsync   (vendor.bundle.js:81233)       在PlatformRef .webpackJsonp ... / .. / .. / core/@angular/core.es5.js.PlatformRef _。 bootstrapModuleWithZone   (vendor.bundle.js:86923)       在PlatformRef .webpackJsonp ... / .. / .. / core/@angular/core.es5.js.PlatformRef_.bootstrapModule   (vendor.bundle.js:86909)       at Object ... / .. / .. / .. / .. / src / main.ts(main.bundle.js:635)bundle.js:19未捕获的ReferenceError:ng未定义       在N(bundle.js:19)       在VueComponent.ready(bundle.js:15)       在VueComponent.LN.M._callHook(bundle.js:5)       在VueComponent.z(bundle.js:5)       在VueComponent.N(bundle.js:5)       在VueComponent.M。$ emit(bundle.js:5)       在VueComponent.LN.M._callHook(bundle.js:5)       在z(bundle.js:5)       在VueComponent.M。$ before(bundle.js:5)       at CN.transition(bundle.js:6)polyfills.bundle.js:5701 Uncaught TypeError:无法读取属性' geAdapter'未定义的       在WebSocket._ws.onopen [as __zone_symbol__ON_PROPERTYopen](eval at M.exports(bundle.js:3),:97:46)       在WebSocket.wrapFn(polyfills.bundle.js:6671)       在ZoneDelegate.webpackJsonp ... / .. / .. / .. / zone.js / dist / zone.js.ZoneDelegate.invokeTask   (polyfills.bundle.js:5930)       在Zone.webpackJsonp ... / .. / .. / .. / zone.js / dist / zone.js.Zone.runTask(polyfills.bundle.js:5697)       在ZoneTask.webpackJsonp ... / .. / .. / .. / zone.js / dist / zone.js.ZoneTask.invokeTask   [as invoke](polyfills.bundle.js:6004)       在invokeTask(polyfills.bundle.js:7045)       在WebSocket.globalZoneAwareCallback(polyfills.bundle.js:7071)

任何人都可以帮我找到解决方案吗?

0 个答案:

没有答案