模块构建失败:TypeError:无法读取未定义的属性“ ts”

时间:2018-06-22 12:53:57

标签: typescript webpack webpack-dev-server ts-loader

  

./ test / test.ts中的错误   模块构建失败:TypeError:无法读取未定义的属性“ ts”       在getLoaderOptions(C:\ Users \ SBT-Fedorova-MaV \ Documents \ Projects \ FROD \ defaultcheck-scripts \ node_modules \ ts-loader \ dist \ index.js:70:43)       在Object.loader(C:\ Users \ SBT-Fedorova-MaV \ Documents \ Projects \ FROD \ defaultcheck-scripts \ node_modules \ ts-loader \ dist \ index.js:23:19)   @ multi(webpack)-dev-server / client?http://0.0.0.0:8999 ./test/test   我「wdm」:无法编译。

"dependencies": {
  "ts-loader": "3.0.2",
  "typescript": "2.8.3",
  "webpack": "3.12.0",
  "webpack-dev-server": "2.11.2"
},

0 个答案:

没有答案