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

EACCES: permission denied, mkdir '../../dist' #9109

Closed
sincovschi opened this issue Feb 24, 2022 · 3 comments
Closed

EACCES: permission denied, mkdir '../../dist' #9109

sincovschi opened this issue Feb 24, 2022 · 3 comments

Comments

@sincovschi
Copy link

sincovschi commented Feb 24, 2022

Current Behavior

when run command npx nx run blog:serve I get the next error:

> Executing task: npx nx serve blog <


> nx run blog:serve

EACCES: permission denied, mkdir '../../dist'

 ———————————————————————

 >  NX   Running target "blog:serve" failed

   Failed tasks:
   
   - blog:serve
   
   Hint: run the command with --verbose for more details.

The terminal process "/usr/bin/bash '-c', 'npx nx serve blog'" terminated with exit code: 1.

Expected Behavior

when run command npx nx run blog:serve to not have any error as it does with next: 12.0.10.

Steps to Reproduce

git clone https://github.com/sincovschi/sincovschi-website.git
cd sincovschi-website
npm install
npm install next@latest
npx nx run blog:serve

Environment

$  npx --no-install next info
/bin/sh: 1: yarn: not found

    Operating System:
      Platform: linux
      Arch: x64
      Version: #1 SMP Wed Aug 25 23:20:18 UTC 2021
    Binaries:
      Node: 16.13.1
      npm: 8.5.1
      Yarn: N/A
      pnpm: 6.31.0
    Relevant packages:
      next: 12.1.0
      react: 17.0.2
      react-dom: 17.0.2

As per the suggestion of a Member of Vercel, I have reposted the issue here:
vercel/next.js#34711 (comment)

@sincovschi
Copy link
Author

sincovschi commented Feb 25, 2022

vercel/next.js#34795 - the fix has been merged. Waiting for next@12.1.1

@chafnan
Copy link

chafnan commented Mar 3, 2022

Just in case anyone needs a fix while we wait for 12.1.1, just move to the Canary 4 version.

https://github.com/vercel/next.js/releases/tag/v12.1.1-canary.4

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants