我已遵循以下步骤来自https://github.com/jkuri/ng2-slimscroll
的来源导入的模块,如
从' ng2-slimscroll'中导入{SlimScrollModule};
imports: [ ....................,
SlimScrollModule,
......................]
在nodemodules / ng2-slimscroll / index.ts中面对错误,如
ERROR in ./~/ng2-slimscroll/index.ts
模块构建失败:错误 在新的FatalError(E:\ ReconWorkspace \ AgreeGateway \ node_modules \ tslint \ lib \ error.js:40:23) 在Function.findConfiguration(E:\ ReconWorkspace \ AgreeGateway \ node_modules \ tslint \ lib \ configurat) ion.js:47:15) at resolveOptions(E:\ ReconWorkspace \ AgreeGateway \ node_modules \ tslint-loader \ index.js:35:64) at Object.module.exports(E:\ ReconWorkspace \ AgreeGateway \ node_modules \ tslint-loader \ index.js:124 :17) @ ./src/main/webapp/app/test/test.module.ts 21:23-48 @ ./src/main/webapp/app/app.module.ts @ ./src/main/webapp/app/app.main.ts @ multi(webpack)-dev-server / client?http://localhost:9060 webpack / hot / dev-server ./src/main/webapp/ 应用程序/ app.main