Skip to content

Error: watch /mnt/c/ubuntu/AwesomeProject EPERM #12871

Description

@joetidee

I followed the steps in the getitng started guide (Android + Windows):

https://facebook.github.io/react-native/docs/getting-started.html

I am running Bash on Windows 10 and my working directory is /mnt/c/ubuntu/AwesomeProject.

I run the command react-native start and get the following errors:

Scanning 548 folders for symlinks in /mnt/c/ubuntu/AwesomeProject/node_modules (51ms)
 ┌────────────────────────────────────────────────────────────────────────────┐
 │  Running packager on port 8081.                                            │
 │                                                                            │
 │  Keep this packager running while developing on any JS projects. Feel      │
 │  free to close this tab and run your own packager instance if you          │
 │  prefer.                                                                   │
 │                                                                            │
 │  https://github.com/facebook/react-native                                  │
 │                                                                            │
 └────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
   /mnt/c/ubuntu/AwesomeProject

Loading dependency graph...
React packager ready.

watch /mnt/c/ubuntu/AwesomeProject EPERM
Error: watch /mnt/c/ubuntu/AwesomeProject EPERM
    at exports._errnoException (util.js:1022:11)
    at FSWatcher.start (fs.js:1429:19)
    at Object.fs.watch (fs.js:1456:11)
    at NodeWatcher.watchdir (/mnt/c/ubuntu/AwesomeProject/node_modules/sane/src/node_watcher.js:144:20)
    at new NodeWatcher (/mnt/c/ubuntu/AwesomeProject/node_modules/sane/src/node_watcher.js:45:8)
    at createWatcher (/mnt/c/ubuntu/AwesomeProject/node_modules/jest-haste-map/build/index.js:536:23)
    at Array.map (native)
    at HasteMap._watch (/mnt/c/ubuntu/AwesomeProject/node_modules/jest-haste-map/build/index.js:654:44)
    at _buildPromise._buildFileMap.then.then.hasteMap (/mnt/c/ubuntu/AwesomeProject/node_modules/jest-haste-map/build/index.js:250:21)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions