cerebral / cerebral-debugger

Debugger for Cerebral
http://cerebraljs.com/docs/introduction/debugger.html
MIT License
33 stars 16 forks source link

Cerebral Debugger is not starting up properly #62

Closed asmundwego closed 5 years ago

asmundwego commented 5 years ago

I just installed the Cerebral Debugger on my Windows 10 computer. When starting up, the program is just showing the brain logo in the middle with the text "Loading..." on the side. It also opens a chromium devtools at the side with this error in the Console:

Failed to load resource: net::ERR_CONNECTION_REFUSED

If I press CTRL+R to reload, it shows:

GET http://localhost:9000/dist/bundle.js net::ERR_CONNECTION_REFUSED

cerebral_debugger_2018-11-27_11-00-11

asmundwego commented 5 years ago

OK, I found out what's wrong. A collegue of mine found this code line in source of your app:

app.src = process.env.NODE_ENV !== 'development' ? './build/bundle.js' : 'http://localhost:9000/dist/bundle.js';

It seems I had stored NODE_ENV as a user environment variable in windows. I deleted that, and now it works.

christianalfoni commented 5 years ago

Glad to hear you figured it out @asmundwego , sorry for extremely late reply :)