smontanari / code-forensics

A toolset for code analysis and report visualisation
383 stars 45 forks source link

Blank page displayed in chrome, even data available in the output folder #40

Closed velanbabu closed 5 years ago

velanbabu commented 5 years ago

Hi Thanks for created wonderful tool. I'm able to generate the output log. When i access the report in browser, blank page displayed and i checked the console log, error showing as

system.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) less.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) system.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) bootstrap.js:9 Uncaught TypeError: Cannot read property 'config' of undefined at bootstrap.js:9 at bootstrap.js:24

Environment : Windows 8 Chrome Browser

Please provide solution for the same

Regards Velan

smontanari commented 5 years ago

It looks to me like the web server cannot resolve the location of the javascript library files requested by the browser. When you start the web server you should see through its output where in the file system it's supposed to find those files (something like serving "/lib" files from ...). Is that folder correct?

I suspect this could be an issue caused by how you run node in Windows, which I can't replicate because I don't have Windows. Other users have suggested ways to run/configure code-forensics on Windows OS, you may want to check out past issues or the FAQ.

jdevoo commented 5 years ago

Just to say that I encountered a blank page before because I had an extra node_modules and gulp lying around... (from an npm link gulp) FWIW

smontanari commented 5 years ago

no activity or further information to work with here, closing the issue