Running npm install with firebase-admin as a dependency results in the following warnings:
npm WARN @firebase/[email protected] requires a peer of @firebase/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @firebase/[email protected] requires a peer of @firebase/[email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @firebase/[email protected] requires a peer of @firebase/[email protected] but none is installed. You must install peer dependencies yourself.
I believe this is caused by this change in 8.3.0:
Downgraded the dependency on the @firebase/app package to a dev dependency.
Clone the functions-samples repo, navigate to the functions dir of big-ben, and run npm install [email protected]
I found a few problems with this issue:
Possible options under consideration:
@firebase/database-standalone)I ran to get around it.
npm install @firebase/app
npm install @firebase/app-types
Then ran install npm install
Yes, this happened because we downgraded the dependency on @firebase/app to a dev dependency. The @firebase/database package is designed to work without @firebase/app, but it still declares a peer dependency on it. The JS SDK team (@Feiyang1 et al) are already on the case. In the meantime, you're free to ignore the warning. I don't think there are any negative consequences.
Most helpful comment
I ran to get around it.
npm install @firebase/app
npm install @firebase/app-types
Then ran install npm install