SlimScroll错误:模块构建在ng2-slimscroll / index.ts失败

时间:2017-05-22 10:15:15

标签: jhipster angular2-template angular2-directives slimscroll

我已遵循以下步骤来自https://github.com/jkuri/ng2-slimscroll

的来源
  1. 安装 npm install ng2-slimscroll
  2. 导入的模块,如

    从' ng2-slimscroll'中导入{SlimScrollModule};

    imports: [ ....................,
                SlimScrollModule,
              ......................]
    

    在nodemodules / ng2-slimscroll / index.ts中面对错误,如

    ERROR in ./~/ng2-slimscroll/index.ts

  3.   

    模块构建失败:错误       在新的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

0 个答案:

没有答案