我正在尝试发布我的项目,但总是在日志中得到相同的错误:
你知道怎么解决这个问题吗?
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 ]
发布于 2020-07-13 20:03:25
删除package-lock.json是不必要的,所以有人试图通过.gitignore文件忽略它。无论如何,每次重建项目时都会生成一个新的项目。
https://stackoverflow.com/questions/62874653
复制相似问题