Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17083

Problem adding Firebase to Creator 3.0

$
0
0

I have a problem adding Firebase SDK to Cocos Creator 3.0. After installing with yarn add firebase@7.23.0 and created a script below

import * as firebase from 'firebase/app';
const app = firebase.app();

I got an error ‘Failed to load module’ (in Cocos 2.4, it works fine) Anyone knows how to fix this?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 17083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>