Open douglasrcjames opened 4 years ago
I have the same issue too. I tried to do some examples in June 13, 2020. There is a message of the error: Could not find a declaration file for module 'react-firebase-file-uploader'
Same here....
module "/home/user/Escritorio/mern/project-nextjs/node_modules/react-firebase-file-uploader/lib/index"
Could not find a declaration file for module 'react-firebase-file-uploader'. '/home/edagurcia/Escritorio/mern-guia-completa/producthunt-nextjs/node_modules/react-firebase-file-uploader/lib/index.js' implicitly has an 'any' type.
Try npm install @types/react-firebase-file-uploader
if it exists or add a new declaration (.d.ts) file containing declare module 'react-firebase-file-uploader';
ts(7016)
I resolved this problem with: npm i react-firebase-file-uploader --legacy-peer-deps
I resolved this issue by overriding the dependency resolution :
"overrides": {
"firebase": [the version of firebase you use]
}
When installing with npm, I am getting this warning on and would like to clear it:
npm WARN react-firebase-file-uploader@2.4.3 requires a peer of firebase@^3.5.2 || ^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
I have rannpm install firebase
, and warning still appears. Any idea on how to clear this?package.json