These are chat archives for ushahidi/Community

5th
May 2016
Ushbot
@ushbot
May 05 2016 00:33
[Sizikov Alex, Ushahidi] i am reinstall 0.12 version of node...
but there is some different errors.
[Sizikov Alex, Ushahidi] this is full console log
[Robbie Mackay, Ushahidi] that last "npm build" looks like it worked.. despite the errors
[Sizikov Alex, Ushahidi] in browser now i see: "Sorry, something went wrong. Try reloading the page." when i loading client page
[Robbie Mackay, Ushahidi] the " notify-send must be installed on the system." message aren't significant..
[Robbie Mackay, Ushahidi] Are you getting any errors in the browser dev tools?
[Robbie Mackay, Ushahidi] Did you set a BACKEND_URL in .env before you ran gulp build?
Ushbot
@ushbot
May 05 2016 00:38
[Sizikov Alex, Ushahidi] yes.
[Robbie Mackay, Ushahidi] the most common reason you'll see "Sorry something went wrong" is because you the client couldn't contact the API..
[Robbie Mackay, Ushahidi] Open up the browser dev tools, reload the page and see if there are any JS errors or failed requests
Ushbot
@ushbot
May 05 2016 00:43

[Sizikov Alex, Ushahidi] hmmm...
Failed to load resource: the server responded with a status of 404 (Not Found) http://ushahidi-platform.mfc-chita.ru//api/v3/config

but it opens in browser.

can it be because double "/"

[Robbie Mackay, Ushahidi] Ah yup. Drop the trailing slash off BACKEND_URL then run gulp build again
[Robbie Mackay, Ushahidi] Theres a fix for that in the develop branch I think - since thats a super common issue
[Sizikov Alex, Ushahidi] wow)) it works!
[Sizikov Alex, Ushahidi] in dev i see
Failed to parse SourceMap: http://ushahidi-client.mfc-chita.ru/css/style.min.css.map
it is ok&
[Sizikov Alex, Ushahidi] ?
[Robbie Mackay, Ushahidi] Yup thats fine :)
[Sizikov Alex, Ushahidi] thank you man!
[Robbie Mackay, Ushahidi] Excellent. Let us know how it goes :)