angular-runtime
angular-runtime copied to clipboard
Can't deploy with Firebase
Describe the bug If I add Firebase to my project, it will not deploy.
To Reproduce Steps to reproduce the behavior:
- Create a test project in Angular. Deploy it.
- Add firebase
ng add @angular/fire
- Try to redeploy
Expected behavior It should deploy without problems.
Versions
- Angular.js: 17.2
- plugin (if installed in your package.json at fixed version): using GitHub to connect
Error:
There was an error when loading the "crypto" npm module. Support for npm modules in edge functions
is an experimental feature. Refer to https://ntl.fyi/edge-functions-npm for more information.
I know Firebase works, because I have deployed the exact same project to netlify edge using SvelteKit and Analog (which uses Angular):
- https://analog-firebase.netlify.app/
- https://sveltekit-firebase-deploy.netlify.app/
So there should be a way to get it to work.
J