Skip to content

Infrastructure Scoreboard Setup #55

@eljeffeg

Description

@eljeffeg

I'm trying to run the infrastructure on Firebase as described in the Readme, but I'm getting a goog is not defined from the goog.module() declarations. I don't know enough about Node (Python guy) to understand how this is suppose to work. Any help would be appreciated.

beginners.js:20 Uncaught ReferenceError: goog is not defined
    at beginners.js:20
(anonymous) @ beginners.js:20
database.js:5 Uncaught ReferenceError: goog is not defined
    at database.js:5
(anonymous) @ database.js:5
readme.js:5 Uncaught ReferenceError: goog is not defined
    at readme.js:5
(anonymous) @ readme.js:5
session.js:5 Uncaught ReferenceError: goog is not defined
    at session.js:5
(anonymous) @ session.js:5
tasklist.js:5 Uncaught ReferenceError: goog is not defined
    at tasklist.js:5
(anonymous) @ tasklist.js:5
teamlist.js:5 Uncaught ReferenceError: goog is not defined
    at teamlist.js:5
(anonymous) @ teamlist.js:5
theme.js:6 Uncaught ReferenceError: goog is not defined
    at theme.js:6
(anonymous) @ theme.js:6
ui.js:5 Uncaught ReferenceError: goog is not defined
    at ui.js:5
(anonymous) @ ui.js:5
scoreboard.js:1 Uncaught SyntaxError: Identifier 'Beginners' has already been declared
bootstrap.js:5 Uncaught ReferenceError: goog is not defined
    at bootstrap.js:5

I took the extra step of adding npm install googl and npm install google-closure-library to the dependency, but that didn't fix it. I tried to define it using const goog = require('goog'); as described when adding Firebase Dependencies, but no luck. Now it just says require is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions