Я настроил электрон с помощью vuejs, и я хотел бы добавить firebae в свой проект, чтобы у меня было
В моем файле main.js
import * as firebase from 'firebase'
let firebasconfig = {
//config from firebase project
};
Vue.prototype.$firebase = firebase.initializeApp(firebasconfig);
Но теперь я получаю сообщение об ошибке
Error: Failed to load gRPC binary module because it was not installed
for the current system
Expected directory: electron-v1.8-linux-x64-glibc
Found: [node-v59-linux-x64-glibc]
This problem can often be fixed by running "npm rebuild" on the current system
Original error: Cannot find module
Я попытался запустить rebuild, но все равно не получается
Что еще мне нужно сделать, чтобы это работало