Reputation: 335
I'm trying to publish my project, and constantly get the same error in logs:
Would you have any idea how to fix that?
18 error Command failed: git -c core.longpaths=true add D:...\main\backend\package-lock.json
18 error The following paths are ignored by one of your .gitignore files:
18 error package-lock.json
18 error Use -f if you really want to add them.
19 verbose exit [ 1, true ]
Upvotes: 0
Views: 45
Reputation: 2874
delete package-lock.json
its not necessary, so much so someone went to the effort to ignore it via the .gitignore
file. A new one will be generated each time the project is rebuilt anyway.
Upvotes: 1