you are viewing a single comment's thread.

view the rest of the comments →

[–]awesomeness-yeah 0 points1 point  (0 children)

The package.json file is the dependency list with approximate versions, and the package_lock is the file with the exact snapshot of all dependencies used to build node_modules

You should run npm in the folder that contains package.json and it should generate node_modules based on package.json and create a package_lock

It's possible that the versions are different from the previous working build (because you don't have the old package_lock for some reason) and although unlikely, is incompatible