Isomorphic React App@AdminSDK: ERROR in ../functions/~/firebase-admin/lib/auth/credential.j
See original GitHub issueHi!
Due to
const firebase = global.firebase || require('firebase');
deprecated, impossible tie new Firebase Admin SDK by reason of webpack errors:
ERROR in ../functions/~/firebase-admin/lib/auth/credential.js
Module not found: Error: Can't resolve 'fs' in '/home/valaoffice/projects/dst-iso/functions/node_modules/firebase-admin/lib/auth'
ERROR in ../functions/~/faye-websocket/lib/faye/websocket/client.js
Module not found: Error: Can't resolve 'net'
and so on. Please give correct webpack.config
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Node.js isomorphic-react-example error - Stack Overflow
1 Answer 1 ... If you want to require a file as a module you have to give it the pathname, in this...
Read more >Eventbrite Tech Talk: Isomorphic React Sans Node - YouTube
Ben Ilegbodu is a Senior Software Engineer at Eventbrite. React is JavaScript library for building user interfaces that has taken the web ...
Read more >Error Boundaries - React
Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Don’t upgrade to firebase-admin. Switch back to firebase. The code is supposed to run on the client and firebase-admin does not work on a web page.
Here are a few differences: