WARNING in ./app/hubs/modelling/retirement/test-inputs/dialogs/AddInvestmentController.js.map
Module parse failed: C:\Projects\Midwinter.ReasonableBasis\Midwinter.AdviceOS.Web\app\hubs\modelling\retirement\test-inputs\dialogs\AddInvestmentController.js.map Line 1: Unexpected token :
You may need an appropriate loader to handle this file type.
| {"version":3,"file":"AddInvestmentController.js","sourceRoot":"","sources":["AddInvestmentController.ts"],"names":["AddInvestmentsController","AddInvestmentsController.constructor","AddInvestmentsController.activate","AddInvestmentsController.save","AddInvestmentsController.cancel"],"mappings":"OAGO,cAAc,MAAM,uBAAuB;AAElD;IAcIA,YAAoBA,MAAMA,EAAUA,MAAeA;QAA/BC,WAAMA,GAANA,MAAMA,CAAAA;QAAUA,WAAMA,GAANA,MAAMA,CAASA;QAC/CA,IAAIA,CAACA,QAAQA,EAAEA,CAACA;IACpBA,CAACA;IAEDD,QAAQA;IAERE,CAACA;IAEDF,IAAIA;QAEAG,IAAIA,CAACA,OAAOA,EAAEA,CAACA;IACnBA,CAACA;IAEDH,MAAMA;QAEFI,IAAIA,CAACA,OAAOA,EAAEA,CAACA;IACnBA,CAACA;AACLJ,CAACA;AA9BU,gCAAO,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAE/B,2BAAE,GAAG,cAAc,CAAC,+BAA+B,CAAC,YAAY,GAAG,iBAAiB,CA4B9F"}
@ ./app/hubs/modelling/retirement/test-inputs/dialogs ^\.\/.*$
WARNING in ./app/hubs/modelling/retirement/test-inputs/dialogs/AddLoanController.js
Module parse failed: C:\Projects\Midwinter.ReasonableBasis\Midwinter.AdviceOS.Web\app\hubs\modelling\retirement\test-inputs\dialogs\AddLoanController.js Line 1: Unexpected token
You may need an appropriate loader to handle this file type.
| import NavigationPath from "route/navigation.path";
| export default class AddLoanController {
| constructor($scope, common) {
@ ./app/hubs/modelling/retirement/test-inputs/dialogs ^\.\/.*$
WARNING in ./app/hubs/modelling/retirement/test-inputs/dialogs/AddLoanController.js.map
Why does ts-loader try to process the js file? Another weird thing is that the warning/ error only occurred in /test-inputs module. After I deleted the *.js file in that folder, everything is fine.
Hi @jbrantly ,
I have a very weird warning with the following details:
Why does ts-loader try to process the js file? Another weird thing is that the warning/ error only occurred in /test-inputs module. After I deleted the *.js file in that folder, everything is fine.