Skip to content
Discussion options

You must be logged in to vote

Yes, this is a known issue with EAS iOS builds where a permission conflict prevents the build from creating the node_modules directory. The error, EACCES: permission denied, mkdir, means the build process doesn't have the necessary write permissions.

Why It Happens

The EAS build for iOS runs on a dedicated macOS virtual machine. The user is expo, and the working directory is /Users/expo/workingdir/build/. While the environment is generally well-configured, a previous build step or cache issue can sometimes leave the project directory with incorrect permissions, preventing the package manager (like npm or yarn) from creating the node_modules folder. This is why the error is inconsistent an…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
3 replies
@shahbaz242630
Comment options

@ikrishanaa
Comment options

@shahbaz242630
Comment options

Comment options

You must be logged in to vote
7 replies
@Niharika07-B
Comment options

@shahbaz242630
Comment options

@shahbaz242630
Comment options

@Niharika07-B
Comment options

@shahbaz242630
Comment options

Answer selected by shahbaz242630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
npm
Labels
Question Ask and answer questions about GitHub features and usage npm Discussions around programming langages, open source and software development
4 participants