playcanvas / supersplat

3D Gaussian Splat Editor
https://playcanvas.com/supersplat/editor
MIT License
745 stars 76 forks source link

Installing local copy did not work on ubuntu 22.043 #74

Closed itakka01 closed 4 months ago

itakka01 commented 4 months ago

Hello, congratulations to this great program!

I just tried to install it on a Ubuntu 22.04 according to your documentation - but unfortunately I could not start the program:

npm run develop

super-splat@0.15.0 develop concurrently --kill-others "npm run watch" "npm run serve"

[0] npm run watch exited with code 1 --> Sending SIGTERM to other processes.. [1] npm run serve exited with code SIGTERM

Are there some other prerequsites which have to be installed prior?

brgrds Bernhard

willeastcott commented 4 months ago

What happens if you just do:

npm run build
itakka01 commented 4 months ago

npm build also throws a long long list of errors (see below). (just let me know if you need the whole error output)

---> cut npm run build

super-splat@0.15.0 build rollup -c

src/index.ts → dist... (!) Plugin typescript: @rollup/plugin-typescript TS2769: No overload matches this call. The last overload gave the following error. Argument of type 'boolean' is not assignable to parameter of type 'Blob'. src/editor-ops.ts: (51:42)

51 formData.append('preserveThumbnail', true);


  node_modules/typescript/lib/lib.dom.d.ts:8614:5
    8614     append(name: string, blobValue: Blob, filename?: string): void;
The last overload is declared here.

(!) Plugin typescript: @rollup/plugin-typescript [...]

willeastcott commented 4 months ago

What version of node and npm do you have. I have:

C:\Users\weastcott>npm --version
9.7.1

C:\Users\weastcott>node --version
v20.10.0
itakka01 commented 4 months ago

npm --version 10.2.4 node --version v20.11.1

itakka01 commented 4 months ago

Thank you - downgrading helped and now everything is working locally too. npm --version 9.6.3 node --version v19.9.0