Symptom
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...
Environment
- SAP Web IDE, Full-Stack edition
Product
SAP Cloud Platform Web IDE 2.0
Keywords
dist/tmp/controller, unexpected token, Use --force to continue, grunt-sapui5-bestpractice-build, web ide, unable to build, failed to compress, syntax error, es6, dist/tmp/controller/app.controller.js , KBA , CA-WDE-BLD-GRUNT , SAP Web IDE Grunt build , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview