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

Error on npx react-native run-android, ENOTDIR #305

Open
JakeHadley opened this issue Jan 28, 2020 · 1 comment
Open

Error on npx react-native run-android, ENOTDIR #305

JakeHadley opened this issue Jan 28, 2020 · 1 comment

Comments

@JakeHadley
Copy link

JakeHadley commented Jan 28, 2020

All I've done is npm install from a project where this is working on Linux AND MacOS, but on Windows I'm getting this very frustrating error with running the command in the title:

error ENOTDIR invalid cwd C:\dev\<appName>\node_modules\react-native-interactable\android. Run CLI with --verbose flag for more details.
Error: ENOTDIR invalid cwd C:\dev\<appName>\node_modules\react-native-interactable\android
    at GlobSync._readdirError (C:\dev\<appName>\node_modules\glob\sync.js:324:21)
    at GlobSync._readdir (C:\dev\<appName>\node_modules\glob\sync.js:290:10)
    at GlobSync._processGlobStar (C:\dev\<appName>\node_modules\glob\sync.js:350:22)
    at GlobSync._process (C:\dev\<appName>\node_modules\glob\sync.js:130:10)
    at new GlobSync (C:\dev\<appName>\node_modules\glob\sync.js:48:10)
    at Function.globSync [as sync] (C:\dev\<appName>\node_modules\glob\sync.js:26:10)
    at findManifest (C:\dev\<appName>\node_modules\@react-native-community\cli-platform-android\build\config\findManifest.js:38:40)
    at Object.dependencyConfig (C:\dev\<appName>\node_modules\@react-native-community\cli-platform-android\build\config\index.js:106:135)
    at C:\dev\<appName>\node_modules\react-native\node_modules\@react-native-community\cli\build\tools\config\index.js:67:61
    at Array.reduce (<anonymous>)

What in the world is wrong here?

I'm running from master as well.

@ninacoder-info
Copy link

same problem for me :(

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