TypeError: Function expected

Hi all,
I know that the error is os common but I’m not able to find the cause.
I generated a skeleton app by Creator, downloaded the project and compiled for Android.
I made some changes but now they are commented out (I guess…).
When I serve the project I see the error, both on browser and mobile.

Runtime Error
Function expected
Stack
TypeError: Function expected
at Anonymous function (http://localhost:8100/build/vendor.js:80670:5)
at Anonymous function (http://localhost:8100/build/vendor.js:80536:1)
at webpack_require (http://localhost:8100/build/vendor.js:55:12)
at 384 (http://localhost:8100/build/main.js:300:22)
at webpack_require (http://localhost:8100/build/vendor.js:55:12)
at 347 (http://localhost:8100/build/main.js:225:22)
at webpack_require (http://localhost:8100/build/vendor.js:55:12)
at 342 (http://localhost:8100/build/main.js:209:22)
at webpack_require (http://localhost:8100/build/vendor.js:55:12)
at webpackJsonpCallback (http://localhost:8100/build/vendor.js:26:14)

If I open the console window and click on the line 2.

  1. HTML1300: È stata eseguita la navigazione. localhost:8100 (1,1)
  2. SCRIPT5002: SCRIPT5002: Function expected
    vendor.js (80670,5)

I land in the index.js around a block of code related with the StatusBar :

__decorate([
Cordova({
sync: true
}),
__metadata(“design:type”, Function),
__metadata(“design:paramtypes”, [Boolean]),
__metadata(“design:returntype”, void 0)
], StatusBar.prototype, “overlaysWebView”, null);

Any help ??
Thanks