-
Notifications
You must be signed in to change notification settings - Fork 25k
[CLI] react-native start won't run from dir with spaces #214
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
Conversation
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
|
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! |
|
Thanks will pull this shortly |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
|
fixed via 0c83766 |
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.
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.
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.
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.
Rebolt: Update all remaining components
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).
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
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
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