Coder Social home page Coder Social logo

Comments (3)

rolandjitsu avatar rolandjitsu commented on July 18, 2024

Yes, there is a module.exports = Firebase; at the end of firebase-web.js and that is something the browser does not understand. Probably that is a mistake and was meant for firebase-node.js. Try firebase-node.js instead as that file is actually missing the export.

from angular-lab.

tapas4java avatar tapas4java commented on July 18, 2024

firebase-node.js is creating more problems than firebase-web.js.

Uncaught ReferenceError: process is not defined(anonymous function) @ firebase-node.js:31(anonymous function) @ firebase-node.js:33 firebase.ts:11Uncaught ReferenceError: Firebase is not defined(anonymous function) @ firebase.ts:11(anonymous function) @ firebase.ts:369M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ todo.ts:3(anonymous function) @ todo.ts:41M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ services.ts:4(anonymous function) @ services.ts:30M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ bootstrap.ts:8(anonymous function) @ bootstrap.ts:19M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798a @ system.src.js:3798Promise.all.then.execute @ system.src.js:3798y @ system.src.js:3798S @ system.src.js:3798p @ system.src.js:3798h @ system.src.js:3798(anonymous function) @ system.src.js:3798run @ zone.js:110zoneBoundFn @ zone.js:83 system.src.js:3798 Uncaught Uncaught ReferenceError: Firebase is not defined Evaluating http://localhost:8000/common/firebase.jsM @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ todo.ts:3(anonymous function) @ todo.ts:41M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ services.ts:4(anonymous function) @ services.ts:30M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ bootstrap.ts:8(anonymous function) @ bootstrap.ts:19M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798a @ system.src.js:3798Promise.all.then.execute @ system.src.js:3798y @ system.src.js:3798S @ system.src.js:3798p @ system.src.js:3798h @ system.src.js:3798(anonymous function) @ system.src.js:3798run @ zone.js:110zoneBoundFn @ zone.js:83 system.src.js:3798 Uncaught Uncaught Uncaught ReferenceError: Firebase is not defined Evaluating http://localhost:8000/common/firebase.js Evaluating http://localhost:8000/app/services/todo.jsM @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ services.ts:4(anonymous function) @ services.ts:30M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ bootstrap.ts:8(anonymous function) @ bootstrap.ts:19M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798a @ system.src.js:3798Promise.all.then.execute @ system.src.js:3798y @ system.src.js:3798S @ system.src.js:3798p @ system.src.js:3798h @ system.src.js:3798(anonymous function) @ system.src.js:3798run @ zone.js:110zoneBoundFn @ zone.js:83 system.src.js:3798 Uncaught Uncaught Uncaught Uncaught ReferenceError: Firebase is not defined Evaluating http://localhost:8000/common/firebase.js Evaluating http://localhost:8000/app/services/todo.js Evaluating http://localhost:8000/app/services.jsM @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798s @ system.src.js:3798(anonymous function) @ system.src.js:3798(anonymous function) @ bootstrap.ts:8(anonymous function) @ bootstrap.ts:19M @ system.src.js:3798s.metadata.execute @ system.src.js:3798i @ system.src.js:3798a @ system.src.js:3798Promise.all.then.execute @ system.src.js:3798y @ system.src.js:3798S @ system.src.js:3798p @ system.src.js:3798h @ system.src.js:3798(anonymous function) @ system.src.js:3798run @ zone.js:110zoneBoundFn @ zone.js:83 zone.js:110 Uncaught Uncaught Uncaught Uncaught ReferenceError: Firebase is not defined Evaluating http://localhost:8000/common/firebase.js Evaluating http://localhost:8000/app/services/todo.js Evaluating http://localhost:8000/app/services.js Evaluating http://localhost:8000/app/bootstrap.js Error loading http://localhost:8000/app/bootstrap.jsrun @ zone.js:110zoneBoundFn @ zone.js:83run @ zone.js:110zoneBoundFn @ zone.js:83

from angular-lab.

rolandjitsu avatar rolandjitsu commented on July 18, 2024

That is because firebase-node.js seems to be node specific, thus will not work. I thought that they might have mistakenly switched the node version with the web version sine module.exports is found in the firebase-web file. But that is not the case, so you will have to stick with the bower version or you can use the version they provide from CDN.

from angular-lab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.