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

EROFS: read-only filesystem with Yarn 2 #358

Closed
sumanthratna opened this issue Jun 1, 2020 · 4 comments · Fixed by #362
Closed

EROFS: read-only filesystem with Yarn 2 #358

sumanthratna opened this issue Jun 1, 2020 · 4 comments · Fixed by #362

Comments

@sumanthratna
Copy link

sumanthratna commented Jun 1, 2020

when I run yarn dlx gh-pages -d build, I get:

EROFS: read-only filesystem, mkdir '/node_modules/gh-pages/.cache'
  • yarn v2.0.0-rc.33
  • gh-pages v2.2.0
  • macOS 10.15.5 Beta

EDIT: this also occurs in a package.json script

EDIT: related? #343

@Adrian-Grimm
Copy link

Clone of #343 - yarn tries to update the .zip of gh-pages ... version 1 of yarn and also npm does not use compressed modules so this works there - that .cache folder should not be there, but gh-pages needs it...

@tschaub
Copy link
Owner

tschaub commented Jun 20, 2020

This should be fixed in gh-pages@3.1.0 (see #362).

@tschaub tschaub closed this as completed Jun 20, 2020
@Adrian-Grimm
Copy link

I only want to confirm that it's fixed - tested in three different projects with yarn2. Thx.

@tschaub
Copy link
Owner

tschaub commented Jun 28, 2020

Good news. Thanks for verifying, @Adrian-Grimm.

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

Successfully merging a pull request may close this issue.

3 participants