alfredoizjr [3:12 PM] Hi need help, when I install the sdk firebase
npm install firebase-admin --save
them I import this on my service
import * as admin from "firebase-admin";
them I try delete a user like this
deleteWorker(uid){
let ref = this.fb.collection('users').doc(uid).delete();
admin.auth().deleteUser(uid);
}
but I get this error
./node_modules/@google-cloud/firestore/src/v1beta1/firestore_client.js
Module not found: Error: Can't resolve './firestore_client_config' in 'C:\Users\Alfredo\Desktop\projectAngular\client-manager\node_modules\@google-cloud\firestore\src\v1beta1'
@ ./node_modules/@google-cloud/firestore/src/v1beta1/firestore_client.js 28:17-53
@ ./node_modules/@google-cloud/firestore/src/v1beta1/index.js
@ ./node_modules/@google-cloud/firestore/src/index.js
@ ./node_modules/firebase-admin/lib/firebase-namespace.js
@ ./node_modules/firebase-admin/lib/default-namespace.js
@ ./node_modules/firebase-admin/lib/index.js
@ ./src/app/services/user.service.ts
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
some one can help me please ?