运行时出错"纱线运行webpack:prod" TypeError:无法读取属性'标记'未定义的

时间:2017-12-13 14:41:59

标签: npm jhipster yarnpkg

  

纱线运行v1.1.0
  $ yarn运行webpack - --config webpack / webpack.prod.js --progress --profile
  警告从Yarn 1.0开始,脚本不需要" - "用于转发的选项。在未来的版本中,任何明确的" - "将按原样转发到脚本   使用角度编译器开始编译   (node:18420)DeprecationWarning:不推荐使用Chunk.modules。请改用Chunk.getNumberOfModules / mapModules / forEachModule / containsModule。   完成角度编译,启动webpack捆绑。
  TypeError:无法读取属性'标记'未定义的       at checkUnreachable(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:20770:31)
      在bindChildrenWorker(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:19014:17)
      在bindChildren(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:18969:17)
      at bind(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:20199:21)
      在bindSourceFile(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:18588:17)
      at Object.bindSourceFile(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:18539:9)
      在initializeTypeChecker(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:44253:20)
      在Object.createTypeChecker(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:23058:9)
      在getDiagnosticsProducingTypeChecker(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:70194:93)
      在Object.getGlobalDiagnostics(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ node_modules \ typescript \ lib \ typescript.js:70570:53)
      在Tsc.typeCheck(E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ src \ tsc.js:166:23)
      在E:\ worckspace \ cloud9ers \ cmis \ node_modules \ @angular \ tsc-wrapped \ src \ main.js:122:23
      在       at process._tickCallback(internal / process / next_tick.js:188:7)
  错误命令失败,退出代码为1.
  错误命令失败,退出代码为1.
  info有关此>命令的文档,请访问https://yarnpkg.com/en/docs/cli/run

如何修复此错误?

0 个答案:

没有答案