You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./firebase.js:1:0
Module not found: Package path . is not exported from package /home/naveen/New Folder/whatsapp-2/node_modules/firebase (see exports field in /home/naveen/New Folder/whatsapp-2/node_modules/firebase/package.json)
Did you mean './firebase'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (node_modules).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.
> 1 | import firebase from "firebase";
2 |
3 | const firebaseConfig = {
4 | apiKey: "AIzaSyAS5PuV434Qb5IqgMHnte1UKha-31PjB-Y",
Import trace for requested module:
./pages/_app.js
https://nextjs.org/docs/messages/module-not-found
i have already downloaded all the dependencies by yarn or npm install
please help
The text was updated successfully, but these errors were encountered:
i have already downloaded all the dependencies by
yarn
ornpm install
please help
The text was updated successfully, but these errors were encountered: