Skip to content

Conversation

@antimatter15
Copy link
Contributor

Running "react-native start" from /Users/kevin/Dropbox (Personal)/Projects/AwesomeProject/ produces the following error

Error: Cannot find module '/Users/kevin/Dropbox'
at Function.Module._resolveFilename (module.js:322:15)
at Function.Module._load (module.js:264:25)
at Function.Module.runMain (module.js:487:10)
at startup (node.js:111:16)
at node.js:809:3

Running "react-native start" from /Users/kevin/Dropbox (Personal)/Projects/AwesomeProject/ produces the following error

Error: Cannot find module '/Users/kevin/Dropbox'
    at Function.Module._resolveFilename (module.js:322:15)
    at Function.Module._load (module.js:264:25)
    at Function.Module.runMain (module.js:487:10)
    at startup (node.js:111:16)
    at node.js:809:3
@antimatter15 antimatter15 changed the title react-native start won't run from dir with spaces [CLI] react-native start won't run from dir with spaces Mar 26, 2015
@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@amasad
Copy link
Contributor

amasad commented Mar 26, 2015

Thanks will pull this shortly

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@amasad
Copy link
Contributor

amasad commented Mar 27, 2015

fixed via 0c83766

@amasad amasad closed this Mar 27, 2015
vjeux pushed a commit to vjeux/react-native that referenced this pull request Apr 13, 2015
Summary:
Running "react-native start" from /Users/kevin/Dropbox (Personal)/Projects/AwesomeProject/ produces the following error

Error: Cannot find module '/Users/kevin/Dropbox'
    at Function.Module._resolveFilename (module.js:322:15)
    at Function.Module._load (module.js:264:25)
    at Function.Module.runMain (module.js:487:10)
    at startup (node.js:111:16)
    at node.js:809:3
Closes facebook#214
Github Author: Kevin Kwok <[email protected]>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
vjeux pushed a commit to vjeux/react-native that referenced this pull request Apr 14, 2015
Summary:
Running "react-native start" from /Users/kevin/Dropbox (Personal)/Projects/AwesomeProject/ produces the following error

Error: Cannot find module '/Users/kevin/Dropbox'
    at Function.Module._resolveFilename (module.js:322:15)
    at Function.Module._load (module.js:264:25)
    at Function.Module.runMain (module.js:487:10)
    at startup (node.js:111:16)
    at node.js:809:3
Closes facebook#214
Github Author: Kevin Kwok <[email protected]>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
vjeux pushed a commit to vjeux/react-native that referenced this pull request Apr 15, 2015
Summary:
Running "react-native start" from /Users/kevin/Dropbox (Personal)/Projects/AwesomeProject/ produces the following error

Error: Cannot find module '/Users/kevin/Dropbox'
    at Function.Module._resolveFilename (module.js:322:15)
    at Function.Module._load (module.js:264:25)
    at Function.Module.runMain (module.js:487:10)
    at startup (node.js:111:16)
    at node.js:809:3
Closes facebook#214
Github Author: Kevin Kwok <[email protected]>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
cpojer pushed a commit to facebook/metro that referenced this pull request Jan 26, 2017
Summary:
Running "react-native start" from /Users/kevin/Dropbox (Personal)/Projects/AwesomeProject/ produces the following error

Error: Cannot find module '/Users/kevin/Dropbox'
    at Function.Module._resolveFilename (module.js:322:15)
    at Function.Module._load (module.js:264:25)
    at Function.Module.runMain (module.js:487:10)
    at startup (node.js:111:16)
    at node.js:809:3
Closes facebook/react-native#214
Github Author: Kevin Kwok <[email protected]>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
jfrolich pushed a commit to jfrolich/react-native that referenced this pull request Apr 22, 2020
ayushjainrksh referenced this pull request in MLH-Fellowship/react-native Jul 2, 2020
If org.gradle.configureondemand=true is set for gradle, gradle will skip bundleJsAndAsset gradle task, which will result into the app crashing on startup with this in the logs:

java.lang.RuntimeException: Unable to load script from assets 'index.android.bundle'. Make sure your bundle is packaged correctly or you're running a packager server

Since it is not clear from the error what is causing this, I would recommend adding this additional note to potentially save a lot of time for people figuring this out (it was not trivial to find the answer by googling).
huntie added a commit to huntie/react-native that referenced this pull request Oct 30, 2025
Summary:
Changelog: [Internal] - Update `react-native/debugger-frontend` from 96e6bb8...7aa57d1

Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](facebook/react-native-devtools-frontend@96e6bb8...7aa57d1).


### Changelog

| Commit | Author | Date/Time | Subject |
| ------ | ------ | --------- | ------- |
| [7aa57d13e](facebook/react-native-devtools-frontend@7aa57d13e) | Alex Hunt ([email protected]) | 2025-10-30T19:45:26+00:00 | [Add AGENTS.md (facebook#215)](facebook/react-native-devtools-frontend@7aa57d13e) |
| [d524f81db](facebook/react-native-devtools-frontend@d524f81db) | Alex Hunt ([email protected]) | 2025-10-30T18:43:44+00:00 | [Enable Performance panel by default (facebook#216)](facebook/react-native-devtools-frontend@d524f81db) |
| [62f76dfbb](facebook/react-native-devtools-frontend@62f76dfbb) | Alex Hunt ([email protected]) | 2025-10-30T17:01:50+00:00 | [Update project name in setup script (facebook#214)](facebook/react-native-devtools-frontend@62f76dfbb) |

Differential Revision: D85888511
meta-codesync bot pushed a commit that referenced this pull request Oct 30, 2025
Summary:
Pull Request resolved: #54340

Changelog: [Internal] - Update `react-native/debugger-frontend` from 96e6bb8...7aa57d1

Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](facebook/react-native-devtools-frontend@96e6bb8...7aa57d1).

### Changelog

| Commit | Author | Date/Time | Subject |
| ------ | ------ | --------- | ------- |
| [7aa57d13e](facebook/react-native-devtools-frontend@7aa57d13e) | Alex Hunt ([email protected]) | 2025-10-30T19:45:26+00:00 | [Add AGENTS.md (#215)](facebook/react-native-devtools-frontend@7aa57d13e) |
| [d524f81db](facebook/react-native-devtools-frontend@d524f81db) | Alex Hunt ([email protected]) | 2025-10-30T18:43:44+00:00 | [Enable Performance panel by default (#216)](facebook/react-native-devtools-frontend@d524f81db) |
| [62f76dfbb](facebook/react-native-devtools-frontend@62f76dfbb) | Alex Hunt ([email protected]) | 2025-10-30T17:01:50+00:00 | [Update project name in setup script (#214)](facebook/react-native-devtools-frontend@62f76dfbb) |

Reviewed By: hoxyq

Differential Revision: D85888511

fbshipit-source-id: fbe4be107d8be6db7b91199dfe44b604b5be0036
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

Successfully merging this pull request may close these issues.

4 participants