-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
EACCES: permission denied, mkdir '../../dist' #34711
Comments
I am also using Next 12.1.0 with NX and can confirm this issue when running the |
What did it say? Anyway, I think is best opened at https://github.com/nrwl/nx as it seems to be an NX bug. If they can confirm this is something with Next.js, we are happy to look more into it. |
I've tried verbose, gives no more details. @balazsorban44, why would you think that NX has a bug, when there absolutely no errors with the older versions of Next? |
Because NX has relied on Next.js internals before and we don't have a semver guarantee for that. It's possible that this is the case here as well. Although, I checked your reproduction and followed the given steps, and I am not able to reproduce the issue. We'll need a more reliable reproduction to investigate further. |
I've purged my npm cache and reinstalled everything, and still could not reproduce. Regardless, I'll try to verify if there have been any related changes in Next.js after 12.0.7 regarding this. 👍 Could you pinpoint which of the canary releases between |
I've pinpointed the exact piece of code with the Issue, I'll open PR soon. |
#34795 - the fix has been merged. Waiting for next@12.1.1 |
Nice investigation! 👏 Happy to see it is fixed now 👍 |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
What browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
nx.dev
Describe the Bug
when run command
npx nx run blog:serve
I get the next error:Expected Behavior
when run command
npx nx run blog:serve
to not have any error as it does with next: 12.0.7.To Reproduce
The text was updated successfully, but these errors were encountered: