It keeps saying “package-lock.json” exists, but is in the .gitignore … there isn’t even a visible .gitignore? help
package-lock.json file is present, however it’s hidden in the editor by default.
Open the terminal and run
cat package-lock.json to view the contents of the file.
.gitignore doesn’t exist, create one and add the following to it:
and then open the terminal and run
Hope this helps!