8000 GitHub - tijsmoree/webworker-jit-error
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tijsmoree/webworker-jit-error

Repository files navigation

Angular JIT error in some cases of using web workers

This repository is a very simple project to show that JIT errors (Error: JIT compiler unavailable) can occur when working with web workers in Angular in case of using index.ts files.

The error does not occur when using ng serve, so I use http-server to show the error. I have used PNPM, so I have the following commands to reproduce the error:

  • pnpm i
  • pnpm build
  • pnpm use

The last command will run a server on some localhost:80xx port. There the debug console will show the error occuring in the web worker, while it should actually log 2468.

Problem indications

I added two NOTEs to the project in the web worker and a service that may indicate where the problem lies.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0