vercel: `firebase-admin` it does not work
NOTE: now-dev It is available in the canary version of now cli
Steps to reproduce 🐛
git clone https://github.com/MAPESO/now-dev-bug-firebase
cd now-dev-bug-firebase
yarn install # dependency installation
now dev # note the error output
This problem was ncc but it was resolved in this PR https://github.com/zeit/webpack-asset-relocator-loader/pull/12. Even though it now works in ncc the problem still persists innow and now dev
logs
Error: package.json does not exist at /private
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 6
- Comments: 17 (9 by maintainers)
It’s working for me with both
now devandnow. I’m using it to read and write to Firebase’s Firestore and Storage products.@betsegaw
I need more information 🙏
@MAPESO another thing you might check here is if node_modules/google-gax and node_modules/google-proto-files both exist.
@MAPESO yes it did and I was able to get a reply from local queries just fine. Will try to put together a sample and send it your way. I am using it currently on a private repo so I can’t link directly to my project but yeah, latest canary version seems to work for me.