Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yalc dir shows 'null/.yalc' as the store-folder #207

Open
saquibtmf opened this issue Oct 13, 2022 · 0 comments
Open

yalc dir shows 'null/.yalc' as the store-folder #207

saquibtmf opened this issue Oct 13, 2022 · 0 comments

Comments

@saquibtmf
Copy link

Hello team,

I am using Docker Agent on Jenkins to build a project that uses yalc. In the jenkinsfile I have setup the agent as
agent {docker {image: npm -u 0:0}}. In this, I am passing the root user by its uid:gid rather than username. What's happening now is that yalc takes the store location as null/.yalc wherein it should be /root/.yalc. This is causing yalc add to fail since it is looking in /null/.yalc which does not exist. Coincidentally, yalc publish is successful.

As a workaround, I am passing --store-folder to override the defaults, but why is it happening that way. How does yalc calculates the location for store?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant