Support Forums

Debug build error - import firebase

I need advice to debug deploy Netlify App

It says that I need to import firebase however I have done this. It runs well locally and shouldn’t have this error.

hi there, could you share your full package.json file please? thanks.

Screen Shot 2021-10-12 at 7.37.13 am

Interesting. It exists here. Wonder why it would fail. Could you share the repo?

Don’t think I can because of a privacy agreement with a client but are there any specific files?

The specific files would still need a sample repo which can reproduce the issue. Since the dependency already exists in your package.json, I don’t see why it won’t be installed - and since this is not happening to all (or a lot of people) on Netlify, there might be something weird happening in your case - to find out what’s happening exactly, a reproduction would be needed.

Doesn’t have to be your entire repo - could some something pretty basic as long as it can reproduce the same issue that you’re having.