How to get package-lock.json in hello-express remix?

It keeps saying “package-lock.json” exists, but is in the .gitignore … there isn’t even a visible .gitignore? help

Hi, the package-lock.json file is present, however it’s hidden in the editor by default.

1. Use the terminal

Open the terminal and run cat package-lock.json to view the contents of the file.

2. Un-gitignore it

If .gitignore doesn’t exist, create one and add the following to it:

!package-lock.json

and then open the terminal and run refresh.

Hope this helps!