lerna publish退了很多遍,就是推不上去。
一直报以下错误,真是绝望...
lerna ERR! Error: Command failed with exit code 1: git add -- packages/core/package.json packages/core/package-lock.json packages/utils/package.json lerna.json
lerna ERR! The following paths are ignored by one of your .gitignore files:
lerna ERR! packages/core/package-lock.json
lerna ERR! Use -f if you really want to add them.
lerna ERR! at makeError (/Users/lixiang/工作/imooc-cli-dev/lerna-cli-dev/node_modules/_execa@5.1.1@execa/lib/error.js:60:11)
lerna ERR! at handlePromise (/Users/lixiang/工作/imooc-cli-dev/lerna-cli-dev/node_modules/_execa@5.1.1@execa/index.js:118:26)
lerna ERR! at processTicksAndRejections (internal/process/task_queues.js:95:5)
lerna ERR! at async Promise.all (index 0)
36
收起
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星