how to fix issues with package.json and package.lock.json files out of sync when deploying fiirebase cloud functions?
I am having several issues with deploying a firebase cloud function. I created a new folder, I have node js installed and I have all the necessary files when I open up the project in visual studio code including (package.json, package.lock.json, gitignore etc). When I try installing dependencies it creates new package.json and package.lock.json files instead of using the original. It then gives me errors saying the dependencies don’t exist in the files and that my files are out of sync. I’ve never had this issue before. I’ve deployed similar cloud functions without an issue.