Comments (8)
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.
FYI, it works fine if you change your imports to:
import * as firebase from 'firebase/app';
import 'firebase/database';
from firebase-js-sdk.
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.
i have also some same problem!
from firebase-js-sdk.
@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.
@jshcrowthe , can you showcase firebase how to bind rollupjs?
from firebase-js-sdk.
@jshcrowthe there is an issue filed on the rollup repo, linking a MCVE to reproduce the underlying issue.
from firebase-js-sdk.
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)
- `User.getIdToken(true)` fails with quota exceeded HOT 1
- ID token docs say refreshes with 5 minutes buffer but seems to be 30 seconds HOT 2
- Document references from another DB cause error logs HOT 2
- Support offline memoryLocalCache persistence for node HOT 3
- Expo: Unable to resolve "./index.shared" from "node_modules/@firebase/auth/dist/index.rn.d.ts" HOT 2
- Upgrade from 9.10.0 to 10.11.0 leads to 46kB increase in bundle size HOT 3
- All remote config param values are not returned on App A but are returned on App B HOT 3
- Firestore experimentalAutoDetectLongPolling/experimentalForceLongPolling does not work as expected HOT 11
- FIRESTORE (10.9.0) INTERNAL ASSERTION FAILED: Unexpected state HOT 4
- getToken() for Push API, requires Notification API support HOT 6
- FIrebase Storage Offline is possible according to Gemini HOT 1
- getDoc() is never resolved nor rejected using Remix and Firestore Lite HOT 4
- App Check fails after returning to an inactive background tab
- FirebaseError: Missing or insufficient permissions. HOT 9
- FirebaseError: Messaging: We are unable to register the default service worker. Failed to register a ServiceWorker for scope ('http://localhost:3000/firebase-cloud-messaging-push-scope') with script ('http://localhost:3000/firebase-messaging-sw.js'): A bad HTTP response code (404) was received when fetching the script. (messaging/failed-service-worker-registration). HOT 6
- MISSING_OR_INVALID_NONCE : The nonce in ID Token does not match the SHA256 hash of the raw nonce in the request
- The accessToken property is missing in the User interface HOT 1
- Analytics Consent not sent on update HOT 2
- Cross-Origin-Opener-Policy policy would block the window.closed call. HOT 3
- FR: Allow modification of passwordless sign-in email template HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-js-sdk.