The only thing I did was pull his repository to my pc and run npm install and npm run build. The latter resulting in this error. Does anyone have any idea why this is happening?
node_modules/three/src/geometries/ExtrudeGeometry.d.ts:2:10 - error TS2440: Import declaration conflicts with local declaration of 'UVGenerator'.
import { UVGenerator } from './ExtrudeGeometry';
node_modules/three/src/materials/ShaderMaterial.d.ts:1:10 - error TS2440: Import declaration conflicts with local declaration of 'ShaderMaterialParameters'.
import { ShaderMaterialParameters } from './ShaderMaterial';
Edit: Seems the author (sitting behind me) is on a linux machine and there it works…
ERROR in node_modules/three/src/materials/ShaderMaterial.d.ts:1:10 - error TS2440: Import declaration conflicts with local declaration of ‘ShaderMaterialParameters’.
1 import { ShaderMaterialParameters } from ‘./ShaderMaterial’;
~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/three/src/geometries/ExtrudeGeometry.d.ts:2:10 - error TS2440: Import declaration conflicts with local declaration of ‘UVGenerator’.
2 import { UVGenerator } from ‘./ExtrudeGeometry’;
I can get around the error if I step down to Typescript 3.6 but then the app doesn’t run. 3.7.5 is needed to run Angular 9.