-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[CLI] react-native start won't run from dir with spaces #214
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 cla@fb.com. 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 <antimatter15@gmail.com> 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 <antimatter15@gmail.com> 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 <antimatter15@gmail.com> 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 <antimatter15@gmail.com> 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).
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