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

Update next.js to resolve permission denied error in read-only filesystem #61

Closed
siraben opened this issue Nov 11, 2021 · 1 comment
Closed

Comments

@siraben
Copy link
Member

siraben commented Nov 11, 2021

While working on Nixifying the project, I ran into next.js writing to write next-env.d.ts every time yarn dev is run

$ ./result/bin/yarn dev    
yarn run v1.22.15
$ next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
[Error: EACCES: permission denied, open '/nix/store/pdr3r2zgfn4nag3ycq8pbl2dgbx8hgaa-witness-0.1.0/next-env.d.ts'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/nix/store/pdr3r2zgfn4nag3ycq8pbl2dgbx8hgaa-witness-0.1.0/next-env.d.ts'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This was reported upstream in vercel/next.js#26533 and fixed in vercel/next.js#28206

@siraben siraben changed the title Update next.js Update next.js to resolve permission denied error in read-only filesystem Nov 11, 2021
@aadibajpai
Copy link
Member

done

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

2 participants