Error: Cannot find module 'package.json'
JounQin opened this issue · comments
What do you call to get this error?
Do you have a reproduction repo?
What do you call to get this error?
npx clean-publish --tag latest
Do you have a reproduction repo?
Not yet, it's a private repo.
It should be related to lilconfig
maybe.
Where is your package.json
and where do you call clean-publish
(is it inside subfolder?)
I am closing this issue. Please post more details to lilconfig
issue.
@ai Any chance to use cosmiconfig
instead? I believe the size is not a key point of this package.
@JounQin node_modules
size is a big problem of the community. But also having too many dependencies increase security risks.
Why this issue can’t be solved in lilconfig
? How lilconfig
reacted on the issue?
There is no response from lilconfig
yet, and no active commit since 4 Dec 2020.
@JounQin I recently talked with lilconfig
author on Twitter. He is still active.
If you do not have opened issues, you do not need to commit new changes to the repo.
Well, that issue antonk52/lilconfig#17 has been opened 12 days. 😂
That is a bit difficult to debug because it only occurred on GitLab CI runner, I'm not sure how to help to fix in lilconfig
.