fablabbcn / smartcitizen-web

The Smart Citizen Kit platform
https://smartcitizen.me
GNU Affero General Public License v3.0
13 stars 7 forks source link

Remove angulartics.google.analytics #423

Closed viktorsmari closed 1 year ago

viktorsmari commented 3 years ago

NOTE this appears not to be a problem in production.

When starting the project on localhost:8080 on Firefox, Linux - we get a blank white screen.

Errors in the console say the following module is not working, and needs to be removed. 'angulartics.google.analytics'

When removing it from the app.module.js file, it starts working normally again.

Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
[$injector:modulerr] Failed to instantiate module angulartics.google.analytics due to:
[$injector:nomod] Module 'angulartics.google.analytics' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

@pral2a do you know this module? It was added in 2015 by Arel, and there is already another module named the same in the file.

Sources:

oscgonfer commented 1 year ago

Closing as its overriden by #446