vivtony00 / teamform-seed

This project is an application skeleton. It is used for a HKUST Software Engineering Course (COMP3111/H) in Fall 2016/17. My goal: The project is not asking students to re-produce the sample project. We should encourage students to do something better than the TA.
https://course.cse.ust.hk/comp3111/teamform/
MIT License
0 stars 5 forks source link

Error: Firebase App named '[DEFAULT]' already exists. #37

Closed hmhv1222 closed 7 years ago

hmhv1222 commented 7 years ago

Error: Firebase App named '[DEFAULT]' already exists.

Need to check whether the firebase database is initialised more than once.

bobby414 commented 7 years ago

Maybe not the correct answer, but leave only one test.js under file in karma.conf.js can solve the problem Do not include more than one test.js

hmhv1222 commented 7 years ago

Only has "js/*.js" included but still nothing works

bobby414 commented 7 years ago

such as "unit_tests/test.js"

hmhv1222 commented 7 years ago

Resolved by replacing 'unit_tests/*.js' by 'unit_tests/test_team.js' in karma.conf.js and define controller only once

Case closed.