升级到angular 9时three.js错误

时间:2020-11-02 09:18:34

标签: angular9

在我的项目中将angular从angulr8升级到9时,我遇到了错误,

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';

我可以从此错误中得到任何建议或线索吗?

0 个答案:

没有答案