Giter VIP home page Giter VIP logo

Comments (8)

google-oss-bot avatar google-oss-bot commented on May 12, 2024

Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight.

from firebase-js-sdk.

jsayol avatar jsayol commented on May 12, 2024

FYI, it works fine if you change your imports to:

import * as firebase from 'firebase/app';
import 'firebase/database';

from firebase-js-sdk.

hville avatar hville commented on May 12, 2024

Hi @jsayol. Could you clarify what rollup plugins and/or settings you are using? If used directly I get 'firebase/app' is imported by app.js, but could not be resolved – treating it as an external dependency. It works but only because firebase never gets bundled at all and the require is left there intact. If I used the rollup resolve plugin and/or the commonjs module I get the same errors listed above.

Here is my environment:

  • windows 10
  • rollup 0.42.0
  • firebase 4.1.2

from firebase-js-sdk.

anlexN avatar anlexN commented on May 12, 2024

i have also some same problem!

1
default
2

from firebase-js-sdk.

jshcrowthe avatar jshcrowthe commented on May 12, 2024

@hville, @anlexN if either of you could provide me a small repo highlighting the issue I'd be happy to take a look.

from firebase-js-sdk.

anlexN avatar anlexN commented on May 12, 2024

@jshcrowthe , can you showcase firebase how to bind rollupjs?

from firebase-js-sdk.

cspanring avatar cspanring commented on May 12, 2024

@jshcrowthe there is an issue filed on the rollup repo, linking a MCVE to reproduce the underlying issue.

from firebase-js-sdk.

jshcrowthe avatar jshcrowthe commented on May 12, 2024

Closing this due to inactivity and since it seems to be an issue w/ the rollup lib and not Firebase

from firebase-js-sdk.

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.