Skip to content

Commit

Permalink
[CLI] react-native start won't run from dir with spaces
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
antimatter15 authored and oss sync committed Apr 12, 2015
1 parent 60c60a2 commit 7993b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packager/packager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
ulimit -n 4096

THIS_DIR=$(dirname "$0")
node $THIS_DIR/packager.js "$@"
node "$THIS_DIR/packager.js" "$@"

0 comments on commit 7993b86

Please sign in to comment.