Iām getting the
Uncaught Error: Service functions is not available
I already tried 2 things.
- delete node_module and install again
- The regionOrCustomDomain option
both did not work.
I have my extensions on asia-east2.
It breaks everytime I use the getMoralisAuth(app) in the code.
This my package
//
Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getFirestore } from "firebase/firestore"
import { getMoralisAuth } from '@moralisweb3/client-firebase-auth-utils';
import { signInWithMoralis } from '@moralisweb3/client-firebase-evm-auth';
import { getAuth } from '@firebase/auth';
const fireapp = initializeApp(firebaseConfig);
const firestore = getFirestore(fireapp);
const auth = getAuth(fireapp);
const moralisAuth = getMoralisAuth(fireapp);
"dependencies": {
"@moralisweb3/client-firebase-auth-utils": "^2.17.0",
"@moralisweb3/client-firebase-evm-auth": "^2.17.0",
"@reduxjs/toolkit": "^1.9.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.16",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"firebase": "^9.18.0",
"moralis-v1": "^1.12.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.5",
"react-scripts": "5.0.1",
"redux": "^4.2.1",
"typescript": "^4.9.5",
"uuid": "^9.0.0",
"web-vitals": "^2.1.4"
},
not sure if related, but I have the stream extension working first, before I decided to convert my auth from react-moralis to firebase-moralis-auth.