When using ES6 code in SAP Web IDE for SAP Cloud Platform, the build fails with this error message in the console:
Failed to compress dist/tmp/controller/App.controller.js. This might be due to a syntax error in the file.
This might be due to a syntax error in the file.""> Read more...
- SAP Cloud Platform
- SAP Web IDE
dist/tmp/controller, unexpected token, Use --force to continue, grunt-sapui5-bestpractice-build , KBA , CA-WDE-BLD-GRUNT , SAP Web IDE Grunt build , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.