WorldEditAxe / eaglerproxy

A standalone implemention of the BungeeCord plugin for EaglercraftX, now with online vanilla server support!
37 stars 93 forks source link

Issue when running (TSC) #34

Open dsaderholm opened 4 weeks ago

dsaderholm commented 4 weeks ago

../node_modules/prismarine-block/index.d.ts:4:10 - error TS2614: Module '"prismarine-item"' has no exported member 'NormalizedEnchant'. Did you mean to use 'import NormalizedEnchant from "prismarine-item"' instead?

4 import { NormalizedEnchant } from 'prismarine-item';


proxy/skins/ImageEditor.ts:22:30 - error TS2307: Cannot find module 'jimp' or its corresponding type declarations.

22         Jimp = (await import("jimp")).default;

Found 2 errors in 2 files.

Errors Files 1 ../node_modules/prismarine-block/index.d.ts:4 1 proxy/skins/ImageEditor.ts:22

dsaderholm commented 1 week ago

I figured out a temporary workaround. I added this to tsconfig.json:

{ "compilerOptions": { "skipLibCheck": true, // other options... } }