smontanari / code-forensics

A toolset for code analysis and report visualisation
389 stars 48 forks source link

"window.System.config is not a function" error when accessing http://localhost:3000/index.html #66

Open thealexandrelara opened 3 years ago

thealexandrelara commented 3 years ago

I'm getting an error on console when I execute webserver and I try to access http://localhost:3000/index.html

image

image

My gulp version is the following:

CLI version: 2.3.0
Local version: 4.0.2

My gulpfile.js was configured with the minimal configuration:

require('code-forensics').configure(
  {
    repository: {
      rootPath: "./src",
    }
  }
)

Do you know what could possible be causing this?

smontanari commented 3 years ago

Your browser is not loading the systemjs library:

In any case, it could be worth deleting the entire node_modules folder and re-installing

smontanari commented 3 years ago

@thealexandrelara, let me know if my suggestions helped you move forward or not. Otherwise I will be closing this issue.