Comments (9)
Hi @msureshmewara,
It looks like the error originates in File: (file: src/webpack:/june_5/webpack/bootstrap:27:0)
. Any chance you know what that line is doing?
from firebase-js-sdk.
@DellaBitta : "@nativescript/webpack": "5.0.21", - Its a webpack file
from firebase-js-sdk.
Perhaps this is where it's complaining about?
System.err: ./node_modules/@grpc/grpc-js/build/src/logging.js(file: src/webpack:/june_5/node_modules/@grpc/grpc-js/build/src/logging.js:37:43)
Can you check node_modules/@grpc/grpc-js/build/src/logging.js:37:43
and let us know what it is?
The closest thing I can find is this, and if that's giving you Cannot read property 'env' of undefined
, it means that process
was undefined
for some reason. (this code in grpc has been there for 3 years, and I doubt it's the culprit).
from firebase-js-sdk.
@ehsannas : Process.env - process is always undefined.
const verbosityString =
process.env.GRPC_NODE_VERBOSITY ?? process.env.GRPC_VERBOSITY ?? '';
from firebase-js-sdk.
Hi @msureshmewara,
This looks to be an error in the build process of your application. It appears that the bundler is bringing in the Node.js version of the Firebase SDK but then executing the build in a non-node environment. You'll need to do some debugging of your app's build pipeline to determine why that might be the case.
from firebase-js-sdk.
@DellaBitta : Thank you :), The error occurs only when I am trying to initialize the firebase/firestore.
initializeApp(this.firebaseConfig); // This function is working fine.
getFirestore(this.app); // Once we call this getting the above error.
from firebase-js-sdk.
I understand, but it appears that the build pipeline is bringing in the node version of Firestore when it shouldn't be.
from firebase-js-sdk.
Hey @msureshmewara. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
from firebase-js-sdk.
Since there haven't been any recent updates here, I am going to close this issue.
@msureshmewara if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
from firebase-js-sdk.
Related Issues (20)
- Firebase in Next.js 14 causes Error: Cannot find module 'undici' HOT 12
- Firebase Auth works for all other mobile service providers except a specific one called Econet in Zimbabwe HOT 1
- [Auth] `signInWithRedirect` doesnโt work on Chrome 115+, Safari 16.1+, and Firefox 109+
- Module '"firebase/auth"' has no exported member 'getReactNativePersistence'. HOT 1
- Remote config returns stale value HOT 6
- Compilation Error with Typescript when enabling "exactOptionalPropertyTypes" HOT 3
- Firestore doesn't support JavaScript objects with custom prototypes HOT 4
- Signin functions are not resolving with Firebase 10 under capacitor
- Typescript types missing when upgrading from 10.2 to 10.3 HOT 3
- FirebaseServerApp could not login user with provided authIdToken in Emulator HOT 3
- IGNORE linkwithphoneNumber is creating a new user
- FR: Add Create Bundles Support HOT 3
- Server App Not Logging In HOT 1
- Can't use getToken() on Safari: `FirebaseError: Messaging: A problem occurred while subscribing the user to FCM: Request contains an invalid argument. (messaging/token-subscribe-failed).` HOT 11
- ` isHostLanguageValid()` in auth's recaptcha loader incorrectly determines long language codes to be invalid HOT 1
- Apple Sign In Blank screen on Web using Chrome 126 HOT 2
- Sign in With Redirect best practice #3 failing HOT 6
- `sendSignInLinkToEmail` only accepts `handleCodeInApp: true` HOT 1
- ReferenceError: self is not defined on Jest tests [email protected] HOT 1
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.