on 10-10-2022 7:54 AM
I am trying to build my application ; but am getting the following error while building :
ERR! lbt:resources:ResourcePool failed to parse or analyze %s: com/bh/BH_OFS/controller/inventoryLookup/inventoryLookup.controller.js Error: Line 150: Unexpected token ?
inventoryLookup.controller.js:
this.navTo("inventoryDetail", { "?query": { "plant": oModelData.selectedPlant ?? "" , // line 150 "warehouse": oModelData.selectedWarehouse ?? "", "sloc": oModelData.selectedSLOC ?? "", "material": oModelData.materialNum ?? "", "batch": oModelData.selectedBatch ?? "", "SplStk": oModelData.selectedSplStk ?? "", "bin": oModelData.storageBin ?? "", } });Has anyone else faced this issue with coalescing operator ??The application works fine in local without any error.
Kindly upgrade to the latest CLI and try again:
npm install --save-dev @ui5/cli@latest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
8 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.