Error in Cloud functions in Firebase: the node server js does not find the dependencies of the angle workers

0

Hello, I hope you're ok Maybe you can help me solve my little problem: the server node js of firebase, shows me the error message that I describe later. Only the same code implemented a week before if it works. The server node js I use it to be renderear and then I send it in local plus the implementation of the service workers.

In local: works great.

On another server with the same code works fine: link

Repository: https://github.com/C1E1S1T/Startup-Web

The application is: https://beta-startup.firebaseapp.com/ It began to fail today, October 12, 2018.

Error in Cloud functions console:

TypeError: i27.ɵangular_packages_service_worker_service_worker_c is not a function at /srv/app/server/main.js:819:8546 at _callFactory (/srv/node_modules/@angular/core/bundles/core.umd.js:8474:32) at _createProviderInstance (/srv/node_modules/@angular/core/bundles/core.umd.js:8420:30) at initNgModule (/srv/node_modules/@angular/core/bundles/core.umd.js:8350:36) at new NgModuleRef_ (/srv/node_modules/@angular/core/bundles/core.umd.js:9076:13) at Object.createNgModuleRef (/srv/node_modules/@angular/core/bundles/core.umd.js:9065:16) at NgModuleFactory_.create (/srv/node_modules/@angular/core/bundles/core.umd.js:11607:29) at /srv/node_modules/@angular/core/bundles/core.umd.js:4375:47 at ZoneDelegate.invoke (/srv/node_modules/zone.js/dist/zone-node.js:388:26) at Object.onInvoke (/srv/node_modules/@angular/core/bundles/core.umd.js:3890:37)

Anyway, thank you.

    
asked by Carlos Eduardo Sanchez Torres 12.10.2018 в 21:39
source

0 answers