You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Linux parrot npm Version: 6.13.4 node Version: v8.17.0
Bug
After latest pull today got this error when I install modules using npm ci. The reason is package and package-lock.json are not sync because package-lock.json is added to .gitignore. As I know it's best practice to always commit package.json and package-lock.json both files to repo.
System Information
OS: Linux parrot
npm Version: 6.13.4
node Version: v8.17.0
Bug
After latest pull today got this error when I install modules using
npm ci
. The reason is package and package-lock.json are not sync because package-lock.json is added to .gitignore. As I know it's best practice to always commit package.json and package-lock.json both files to repo.Error Log
Solution
Remove package-lock.json from .gitignore file and recommit the both sync files.
The text was updated successfully, but these errors were encountered: