Stream: clinFHIR
Topic: error
Ben Spencer (Oct 26 2017 at 06:19):
I've just checked out clinfhir from git and I'm getting this in the browser console:
angular.min1-5.js:116 TypeError: Cannot read property 'allKnownServers' of undefined at Object.getCurrentConformanceServer (appConfigSvc.js:395)
Which is this line:
for (var i=0; i < $localStorage.config.allKnownServers.length; i++){
David Hay (Oct 28 2017 at 18:15):
strange. which Url are you using the start CF (I assume you are running a local instance of mongoDb and the server.js app?
Ben Spencer (Oct 29 2017 at 07:28):
strange. which Url are you using the start CF
http://localhost:8000/launcher.html
I assume you are running a local instance of mongoDb and the server.js app?
I wasn't (didn't realise that was a thing). There aren't any failed network requests though. How do I configure the local server location in the frontend?
David Hay (Oct 29 2017 at 17:21):
Ok - you found a rather nasty bug - thanks! I recently added tracking of the fhir version of the servers (for reporting purposes) and this bug will happen on any new access to CF (especially bad as I'm giving a tutorial tomorrow!) All fixed now (but you'll need to update of course). The mongo server needs to run on the server...
Let me know if you have any further issues...
Last updated: Apr 12 2022 at 19:14 UTC