Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thealexandrelara opened this issue Feb 21, 2021 · 2 comments

Comments

@thealexandrelara
Copy link

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
Copy link
Owner

smontanari commented Mar 5, 2021

Your browser is not loading the systemjs library:

  • Check the systemjs package 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

@smontanari
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants