code-forensics
code-forensics copied to clipboard
"window.System.config is not a function" error when accessing http://localhost:3000/index.html
I'm getting an error on console when I execute webserver and I try to access http://localhost:3000/index.html


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?
Your browser is not loading the systemjs library:
- Check the
systemjspackage is installed (e.g.npm list systemjs) and it has the right version:0.21.6 - Check your browser is loading it from the web server (it should be from
index.html)
In any case, it could be worth deleting the entire node_modules folder and re-installing
@thealexandrelara, let me know if my suggestions helped you move forward or not. Otherwise I will be closing this issue.