@richardshergold wrote:
I'm suddenly getting a build error of
./app/app.js
Module parse failed: /Users/richardshergold/Documents/Ionic Projects/PortalToday/node_modules/awesome-typescript-loader/dist.babel/index.js?{"doTypeCheck":false,"useWebpackText":true}!/Users/richardshergold/Documents/Ionic Projects/PortalToday/app/app.js Line 117: Illegal return statement
You may need an appropriate loader to handle this file type.
| findMenuItemByTitle(title);
| {
| return this.pages.find(function (menuItem) {
| return menuItem.title === title;
| });
@ multi main (CLI v2.0.0-beta.17)I've building under alpha54 and have matched up all my project config files with the Conference app.
Does anyone know what might be causing this? I removed all the node modules and then did npm install to re-install everything but it hasn't helped. I'm not using Typescript, just js files.
Posts: 17
Participants: 3