Useful video. Simple and easy to understand! Just a quick note if anyone faces the ERR_PACKAGE_PATH_NOT_EXPORTED error just change the version of Firebase to 8.6.8 in both package.json and package-lock.json and run npm i and then proceed.
Hi, nice video but this is an old procedure, now firebase tells firebase-admin package on their documentation to access the cloud firestore. Can you please check it and update your video or post another content?
node:internal/modules/cjs/loader:573 throw e; ^ Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:\Users\HP\Desktop\apiss ode_modules\firebase\package.json when i am import config.js in the index.js file i m getting this error again and again
changed my dependencies in the package json to "cors": "^2.8.5", "express": "^4.18.2", "firebase": "^8.6.8", "nodemon": "^3.0.1" and i managed to get rid of the error . Hope this helps
First install firebase-admin by 'npm i firebase-admin' After that in the config file, change 'const firebase= require('firebase);' to 'const firebase= require('firebase-admin');'
@@christianborrello1922 I too found some issue in the later stages... The permanent solution to all my problems was uninstalling the firebase v9 and installing the firebase version used in the video For that i went to the github repo of this project and under package.json i found firebase version as 8.6.8 Next i did: *npm uninstall firebase* *npm i firebase@8.6.8* Hope this solves your issue too Edit: Also u won't be requiring firebase-admin after this
Hey mate I've watch your video on visualisation of matplotlib in flask it was really amazing but one thing I'm facing problem is that if I try to put the other values it's repeating on the previous one
changed my dependencies in the package json to "cors": "^2.8.5", "express": "^4.18.2", "firebase": "^8.6.8", "nodemon": "^3.0.1" and i managed to get rid of the error . Hope this helps
Useful video. Simple and easy to understand! Just a quick note if anyone faces the ERR_PACKAGE_PATH_NOT_EXPORTED error just change the version of Firebase to 8.6.8 in both package.json and package-lock.json and run npm i and then proceed.
Never touch package-lock.json
It's dangerous. Let npm do it
Thanks for the tutorial my dear friend! Greetings from Mexico
Hi, nice video but this is an old procedure, now firebase tells firebase-admin package on their documentation to access the cloud firestore. Can you please check it and update your video or post another content?
Thank you Syed, great video!
node:internal/modules/cjs/loader:573
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:\Users\HP\Desktop\apiss
ode_modules\firebase\package.json when i am import config.js in the index.js file i m getting this error again and again
same here bro how you solve it
Hii sir showing error No "exported"
How to resolve it sir
Code is just copy from your video
Plzz help me sir
changed my dependencies in the package json to "cors": "^2.8.5",
"express": "^4.18.2",
"firebase": "^8.6.8",
"nodemon": "^3.0.1"
and i managed to get rid of the error . Hope this helps
That content was very helpful for me. Very good content
Thanks
Thanks for the tutorial I learned mongo and needed reassurance when it came to firebase I'll follow your other tutorials 😊
What happens if you send two of those objects in a req body only one id will be generated for those two objects right?
How to avoid that ..
The quality of the content is amazing but please increase the quality of video recording
It was starting. Quality will grow eventually with time
No "exports" main defined in E:\task\full-stack-task\backend
ode_modules\firebase\package.json
ehy this error is coming please reply
First install firebase-admin by 'npm i firebase-admin'
After that in the config file, change 'const firebase= require('firebase);' to 'const firebase= require('firebase-admin');'
same issue :(
@@christianborrello1922 I too found some issue in the later stages...
The permanent solution to all my problems was uninstalling the firebase v9 and installing the firebase version used in the video
For that i went to the github repo of this project and under package.json i found firebase version as 8.6.8
Next i did:
*npm uninstall firebase*
*npm i firebase@8.6.8*
Hope this solves your issue too
Edit: Also u won't be requiring firebase-admin after this
@@SilvereonRS Thank you!
@@vialvial1246 You're welcome!
gracias desde mexico buen ejemplo de CRUD
Thank you for the amazing explanation.
Could you please tell me how will i know if the data was succesfully inserted
i have error Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:
odejs_project
odejsFirebase
ode_modules\firebase\package.json
Just change the version of Firebase to 8.6.8 in both package.json and package-lock.json and run npm i
insanely good video man, thanks so much for showing this :)
how to deploy this in some specific url
Best tutorial bhai.
Thanks
it code dont work, i guess now need use firebase-admin?
Thank you for the tutorial
with the new version of firebase this code don't work
pushing node modules to github is not good practice, must put in gitiggnore file.
I know, just pushed like.
Thank you. I am a newbie here and it is quite enlightning!..😀
Reqlly good. Appreciated❤️❤️❤️
Hey mate I've watch your video on visualisation of matplotlib in flask it was really amazing but one thing I'm facing problem is that if I try to put the other values it's repeating on the previous one
can we access the firebase and mongoDB in same data base ? and one more thing can we maintain same data in fire base and mongoDB.
i think for firebase version 9 google updated its docs. Now for adding addDoc, getDocs is being used.
please make new video on version 9
bro now i get error like this No "exports" main defined what is problem in connetiton in node js now
changed my dependencies in the package json to "cors": "^2.8.5",
"express": "^4.18.2",
"firebase": "^8.6.8",
"nodemon": "^3.0.1"
and i managed to get rid of the error .
Hope this helps
am I the onlone getting this error code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'. Eerything I try online does not work
Use the version that I'm using in the repo
@@SyedZano Thank you very much for replying.
@@SyedZano Thank you so much. A solution after 5 hours of wasted time
super helpful, thanks!
Very helpfull man, thank you
hi,nice video. could i please ask how to configure the thunder client part, it says it doesn't connect with the server
sir can make more videos in firebase and node js
thanks nice explanations
Thats a nice tutorial man, but i suggest you to zoom in your screen.
Thank you so much
🙃
I am getting error as nodemon is not a command, I have already installed nodemon
Install globally
@@SyedZano thanks that worked!
thank you so much
mast video bhai
Thanks a ton
13:36 google will never give you a job 😅
Excellent!
Good One Thank you keep it up Brother
Hmm
thank you so much