Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ojet release mode throws parse error

GoSaaSDec 12 2022

Using Ojet version @11.0.1, when running in release mode, application throws a parse error over the syntax. There is no such error when running without release mode.
Error: Parse error using esprima for file: **/viewModel.js
Error: Line 70: Unexpected token .

I am assuming the esprima included in ojet@11.0.1 tooling is unable to parse es6 syntax. Kindly guide what can be the solution to this and how can we run the application in release mode.

Comments
Post Details
Added on Dec 12 2022
1 comment
737 views