Closed jpalmer78 closed 9 months ago
Hi, you have to use pnpm when installing the dependencies, because I patched the four
package and the patch will only work with pnpm.
So you can:
npm i -g pnpm
if it's not already installedpnpm install
pnpm dev
I consider that the issue is fixed, feel free to reopen if you need more guidance
I'm new to typescript, but I believe I have it working properly. I have installed modules four and tweakpane, because they no longer error, but I am hitting an error using npx tsc:
src/earth/earth.ts:23:18 - error TS2322: Type '"nearestMipmapLinear"' is not assignable to type 'Filter'. 23 options: { minFilter: "nearestMipmapLinear" },
src/earth/earth.ts:32:18 - error TS2322: Type '"linearMipmapLinear"' is not assignable to type 'Filter'. 32 options: { minFilter: "linearMipmapLinear" },
Found 2 errors in the same file, starting at: src/earth/earth.ts:23
How best to deploy this? I started on typescript because I couldn't get any webserver to send the *.ts files. It complained about mime type issue. I am curious what you are using for development and testing as well. Thank you for your time