Skip to content
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

.reactserverrc is malformed json #255

Closed
DanielFGray opened this issue Jun 3, 2016 · 1 comment
Closed

.reactserverrc is malformed json #255

DanielFGray opened this issue Jun 3, 2016 · 1 comment
Labels
bug An issue with the system

Comments

@DanielFGray
Copy link

It would seem undefined is not a valid symbol in json, and the debug log-level needed quoting

Seems strange that what one would assume to be generated JSON isn't actually valid

.reactserverrc
 {
-  "routes": "./routes.js"
+  "routes": "./routes.js",
   "host": "localhost",
   "port": 3000,
   "js-port": 3001,
   "hot": false,
   "minify": false,
   "long-term-caching": false,
   "compile-only": false,
-  "js-url": undefined,
   "https": false,
-  "https-key": undefined,
-  "https-cert": undefined,
-  "https-ca": undefined,
-  "https-pfx": undefined,
-  "https-passphrase": undefined,
-  "log-level": debug,
+  "log-level": "debug",
   "env": {
     "staging": {
       "port": "4000"
     },
     "production": {
        "port": "80"
     }
+  }
}

Changing this file and copying the .gulpfile from the repo as noted in #254 seems make the server work for me.

@gigabo gigabo added the bug An issue with the system label Jun 3, 2016
@gigabo
Copy link
Contributor

gigabo commented Jun 3, 2016

Ouch. Thanks for reporting @DanielFGray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue with the system
Projects
None yet
Development

No branches or pull requests

2 participants