mirror of https://github.com/status-im/metro.git
[CLI] react-native start won't run from dir with spaces
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 https://github.com/facebook/react-native/pull/214 Github Author: Kevin Kwok <antimatter15@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
parent
f68c24069e
commit
113d7eeafe
|
@ -10,4 +10,4 @@
|
|||
ulimit -n 4096
|
||||
|
||||
THIS_DIR=$(dirname "$0")
|
||||
node $THIS_DIR/packager.js "$@"
|
||||
node "$THIS_DIR/packager.js" "$@"
|
||||
|
|
Loading…
Reference in New Issue