Mojira Archive
MCM-1906

[Scripting] @minecraft/server tsconfig throws a JSON Schema error

Partner Rank:

4

Partner Team Reporting:

Gamemode One

Verification builds and Platforms:

NPM Package @minecraft/server

Summary:

The tsconfig.json for @minecraft/server contains a reference to a file "tests.ts" which is not part of the published package. This missing file causes this error to appear "JSON schema for the TypeScript compiler's configuration file" for the missing file.

Impact:

Keeps a problem active in the vscode problems tab. Causes the `node_modules` folder to stay error red. Frustrating to develop with.

Repro Steps:

  1. Install package `npm i @minecraft/server`
  2. On some launches of VScode, some ts server restarts the packages tsconfig.json errors

Observed Results:

An error appears for a missing file listed in the "files" list of the tsconfig.json.

Expected Results:

tsconfig file is valid and does not throw schema validation errors

Screenshots/Videos attached: Yes/No

No

Regression Builds:

Unknown

Unresolved

Thomas Orsbourne

2025-01-21, 09:10 PM

2025-01-22, 06:30 PM

0

0

-

-