Today's Trends
mediumInvestigatingTypeScript

TypeScript Index File Missing Compiled Main JS Causing Localhost Errors

  1. Investigating(current)
  2. Trending(upcoming)
  3. Workaround available(upcoming)
  4. Resolved(upcoming)

Executive summary

A user reported that running examples fails due to a CORS error, and attempting to run locally results in errors because the repository contains a main.ts file without a corresponding compiled main.js file.

No verified workaround yet

None of the linked reports describe a mitigation. Follow this incident to hear when one appears.

Technical root cause

The project repository contains a TypeScript source file (main.ts) but lacks the compiled JavaScript output (main.js) required to execute the code.

Evidence

1 report · 1 BlueskyShow
  1. [1]
    Bluesky First report
    the index file is broken, and nothing runs.(opens Bluesky post in a new tab)

    the index file is broken, and nothing runs. if you just try to run examples cold, you get a CORS error. so i put it on my localhost and tried again. in localhost i get this error instead: looking through directories, there's a main.ts (typescript) but no main.js. anyone know what's up?

    by lorenschmidt.bsky.social 4upvotes 1comments

Timeline

  1. First report on Bluesky post

    the index file is broken, and nothing runs.

    Source