nartc / angular-three

🧊 THREE.js integration for Angular 🧊
https://angular-three.netlify.app/
MIT License
306 stars 26 forks source link

NgtPrimitiveModule not working. "'ngt-primitve' is not a known element" #136

Closed AkramFaiz closed 2 years ago

AkramFaiz commented 2 years ago

Hi I am new to NGT.

I am facing the following issue. It would be very helpful if you can guide me.

Module imported: import { NgtPrimitiveModule } from "@angular-three/core/primitive"; imports: [....,NgtPrimitiveModule] Ref: https://angular-three.netlify.app/docs/core/objects

Error: 'ngt-primitve' is not a known element:

IRobot1 commented 2 years ago

Its ngt-primitive not ngt-primitve. Don't feel bad, it took me an hour of scratching my head before I spotted the spelling mistake.

AkramFaiz commented 2 years ago

Thanks a lot. My bad.

@IRobot1 Now I am facing issue with - import { NgtSobaOrbitControlsModule } from "@angular-three/soba/controls"; Can you please guide me with this. As soon as I import this module the below error occurs.

Error:

Error: node_modules/three-stdlib/cameras/CinematicCamera.d.ts:10:10 - error TS2305: Module '"./../shaders/BokehShader2"' has no exported member 'BokehShaderUniforms'.

10 import { BokehShaderUniforms } from './../shaders/BokehShader2';


Error: node_modules/three-stdlib/csm/CSM.d.ts:61:25 - error TS2307: Cannot find module './CSMFrustum.js' or its corresponding type declarations.

61 import CSMFrustrum from './CSMFrustum.js';

Error: node_modules/three-stdlib/exporters/GLTFExporter.d.ts:41:75 - error TS2304: Cannot find name 'OffscreenCanvas'.

41 declare type ImageRepresentation = HTMLImageElement | HTMLCanvasElement | OffscreenCanvas | ImageBitmap;


Error: node_modules/three-stdlib/geometries/ParametricGeometries.d.ts:3:36 - error TS2307: Cannot find module './ParametricGeometry' or its corresponding type declarations.

3 import { ParametricGeometry } from './ParametricGeometry';

Error: node_modules/three-stdlib/index.d.ts:1:15 - error TS7016: Could not find a declaration file for module './offscreen/scene'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/offscreen/scene.js' implicitly has an 'any' type.

1 export * from './offscreen/scene';


Error: node_modules/three-stdlib/index.d.ts:2:15 - error TS7016: Could not find a declaration file for module './offscreen/offscreen'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/offscreen/offscreen.js' implicitly has an 'any' type.

2 export * from './offscreen/offscreen';

Error: node_modules/three-stdlib/index.d.ts:3:15 - error TS7016: Could not find a declaration file for module './offscreen/jank'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/offscreen/jank.js' implicitly has an 'any' type.

3 export * from './offscreen/jank';


Error: node_modules/three-stdlib/index.d.ts:16:15 - error TS7016: Could not find a declaration file for module './misc/ProgressiveLightmap'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/misc/ProgressiveLightmap.js' implicitly has an 'any' type.

16 export * from './misc/ProgressiveLightmap';

Error: node_modules/three-stdlib/index.d.ts:18:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/constants'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/constants.js' implicitly has an 'any' type.

18 export * from './renderers/nodes/core/constants';


Error: node_modules/three-stdlib/index.d.ts:19:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/NodeBuilder'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/NodeBuilder.js' implicitly has an 'any' type.

19 export * from './renderers/nodes/core/NodeBuilder';

Error: node_modules/three-stdlib/index.d.ts:20:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/InputNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/InputNode.js' implicitly has an 'any' type.

20 export * from './renderers/nodes/core/InputNode';


Error: node_modules/three-stdlib/index.d.ts:21:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/NodeUniform'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/NodeUniform.js' implicitly has an 'any' type.

21 export * from './renderers/nodes/core/NodeUniform';

Error: node_modules/three-stdlib/index.d.ts:22:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/NodeVary'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/NodeVary.js' implicitly has an 'any' type.

22 export * from './renderers/nodes/core/NodeVary';


Error: node_modules/three-stdlib/index.d.ts:23:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/NodeFrame'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/NodeFrame.js' implicitly has an 'any' type.

23 export * from './renderers/nodes/core/NodeFrame';

Error: node_modules/three-stdlib/index.d.ts:24:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/Node'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/Node.js' implicitly has an 'any' type.

24 export * from './renderers/nodes/core/Node';


Error: node_modules/three-stdlib/index.d.ts:25:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/NodeSlot'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/NodeSlot.js' implicitly has an 'any' type.

25 export * from './renderers/nodes/core/NodeSlot';

Error: node_modules/three-stdlib/index.d.ts:26:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/NodeAttribute'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/NodeAttribute.js' implicitly has an 'any' type.

26 export * from './renderers/nodes/core/NodeAttribute';


Error: node_modules/three-stdlib/index.d.ts:27:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/VaryNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/VaryNode.js' implicitly has an 'any' type.

27 export * from './renderers/nodes/core/VaryNode';

Error: node_modules/three-stdlib/index.d.ts:28:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/core/AttributeNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/core/AttributeNode.js' implicitly has an 'any' type.

28 export * from './renderers/nodes/core/AttributeNode';


Error: node_modules/three-stdlib/index.d.ts:29:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/accessors/CameraNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/accessors/CameraNode.js' implicitly has an 'any' type.

29 export * from './renderers/nodes/accessors/CameraNode';

Error: node_modules/three-stdlib/index.d.ts:30:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/accessors/UVNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/accessors/UVNode.js' implicitly has an 'any' type.

30 export * from './renderers/nodes/accessors/UVNode';


Error: node_modules/three-stdlib/index.d.ts:31:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/accessors/ModelNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/accessors/ModelNode.js' implicitly has an 'any' type.

31 export * from './renderers/nodes/accessors/ModelNode';

Error: node_modules/three-stdlib/index.d.ts:32:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/accessors/NormalNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/accessors/NormalNode.js' implicitly has an 'any' type.

32 export * from './renderers/nodes/accessors/NormalNode';


Error: node_modules/three-stdlib/index.d.ts:33:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/accessors/PositionNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/accessors/PositionNode.js' implicitly has an 'any' type.

33 export * from './renderers/nodes/accessors/PositionNode';

Error: node_modules/three-stdlib/index.d.ts:34:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/accessors/ModelViewProjectionNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/accessors/ModelViewProjectionNode.js' implicitly has an 'any' type.

34 export * from './renderers/nodes/accessors/ModelViewProjectionNode';


Error: node_modules/three-stdlib/index.d.ts:35:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/utils/SwitchNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/utils/SwitchNode.js' implicitly has an 'any' type.

35 export * from './renderers/nodes/utils/SwitchNode';

Error: node_modules/three-stdlib/index.d.ts:36:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/utils/TimerNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/utils/TimerNode.js' implicitly has an 'any' type.

36 export * from './renderers/nodes/utils/TimerNode';


Error: node_modules/three-stdlib/index.d.ts:37:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/math/OperatorNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/math/OperatorNode.js' implicitly has an 'any' type.

37 export * from './renderers/nodes/math/OperatorNode';

Error: node_modules/three-stdlib/index.d.ts:38:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/math/MathNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/math/MathNode.js' implicitly has an 'any' type.

38 export * from './renderers/nodes/math/MathNode';


Error: node_modules/three-stdlib/index.d.ts:39:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/ColorNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/ColorNode.js' implicitly has an 'any' type.

39 export * from './renderers/nodes/inputs/ColorNode';

Error: node_modules/three-stdlib/index.d.ts:40:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/Vector3Node'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/Vector3Node.js' implicitly has an 'any' type.

40 export * from './renderers/nodes/inputs/Vector3Node';


Error: node_modules/three-stdlib/index.d.ts:41:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/Matrix4Node'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/Matrix4Node.js' implicitly has an 'any' type.

41 export * from './renderers/nodes/inputs/Matrix4Node';

Error: node_modules/three-stdlib/index.d.ts:42:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/TextureNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/TextureNode.js' implicitly has an 'any' type.

42 export * from './renderers/nodes/inputs/TextureNode';


Error: node_modules/three-stdlib/index.d.ts:43:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/FloatNode'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/FloatNode.js' implicitly has an 'any' type.

43 export * from './renderers/nodes/inputs/FloatNode';

Error: node_modules/three-stdlib/index.d.ts:44:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/Vector2Node'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/Vector2Node.js' implicitly has an 'any' type.

44 export * from './renderers/nodes/inputs/Vector2Node';


Error: node_modules/three-stdlib/index.d.ts:45:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/Vector4Node'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/Vector4Node.js' implicitly has an 'any' type.

45 export * from './renderers/nodes/inputs/Vector4Node';

Error: node_modules/three-stdlib/index.d.ts:46:15 - error TS7016: Could not find a declaration file for module './renderers/nodes/inputs/Matrix3Node'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/nodes/inputs/Matrix3Node.js' implicitly has an 'any' type.

46 export * from './renderers/nodes/inputs/Matrix3Node';


Error: node_modules/three-stdlib/index.d.ts:47:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/constants'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/constants.js' implicitly has an 'any' type.

47 export * from './renderers/webgpu/constants';

Error: node_modules/three-stdlib/index.d.ts:48:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUTextures'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUTextures.js' implicitly has an 'any' type.

48 export * from './renderers/webgpu/WebGPUTextures';


Error: node_modules/three-stdlib/index.d.ts:49:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUInfo'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUInfo.js' implicitly has an 'any' type.

49 export * from './renderers/webgpu/WebGPUInfo';

Error: node_modules/three-stdlib/index.d.ts:50:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPURenderLists'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPURenderLists.js' implicitly has an 'any' type.

50 export * from './renderers/webgpu/WebGPURenderLists';


Error: node_modules/three-stdlib/index.d.ts:51:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUTextureRenderer'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUTextureRenderer.js' implicitly has an 'any' type.

51 export * from './renderers/webgpu/WebGPUTextureRenderer';

Error: node_modules/three-stdlib/index.d.ts:52:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPURenderPipelines'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPURenderPipelines.js' implicitly has an 'any' type.

52 export * from './renderers/webgpu/WebGPURenderPipelines';


Error: node_modules/three-stdlib/index.d.ts:53:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUGeometries'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUGeometries.js' implicitly has an 'any' type.

53 export * from './renderers/webgpu/WebGPUGeometries';

Error: node_modules/three-stdlib/index.d.ts:54:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/nodes/WebGPUNodeBuilder'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/nodes/WebGPUNodeBuilder.js' implicitly has an 'any' type.

54 export * from './renderers/webgpu/nodes/WebGPUNodeBuilder';


Error: node_modules/three-stdlib/index.d.ts:55:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/nodes/WebGPUNodeUniform'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/nodes/WebGPUNodeUniform.js' implicitly has an 'any' type.

55 export * from './renderers/webgpu/nodes/WebGPUNodeUniform';

Error: node_modules/three-stdlib/index.d.ts:56:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/nodes/WebGPUNodeUniformsGroup'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/nodes/WebGPUNodeUniformsGroup.js' implicitly has an 'any' type.

56 export * from './renderers/webgpu/nodes/WebGPUNodeUniformsGroup';


Error: node_modules/three-stdlib/index.d.ts:57:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/nodes/ShaderLib'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/nodes/ShaderLib.js' implicitly has an 'any' type.

57 export * from './renderers/webgpu/nodes/ShaderLib';

Error: node_modules/three-stdlib/index.d.ts:58:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/nodes/WebGPUNodes'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/nodes/WebGPUNodes.js' implicitly has an 'any' type.

58 export * from './renderers/webgpu/nodes/WebGPUNodes';


Error: node_modules/three-stdlib/index.d.ts:59:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUBindings'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUBindings.js' implicitly has an 'any' type.

59 export * from './renderers/webgpu/WebGPUBindings';

Error: node_modules/three-stdlib/index.d.ts:60:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUSampledTexture'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUSampledTexture.js' implicitly has an 'any' type.

60 export * from './renderers/webgpu/WebGPUSampledTexture';


Error: node_modules/three-stdlib/index.d.ts:61:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPU'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPU.js' implicitly has an 'any' type.

61 export * from './renderers/webgpu/WebGPU';

Error: node_modules/three-stdlib/index.d.ts:62:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUUniformsGroup'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUUniformsGroup.js' implicitly has an 'any' type.

62 export * from './renderers/webgpu/WebGPUUniformsGroup';


Error: node_modules/three-stdlib/index.d.ts:63:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPURenderer'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPURenderer.js' implicitly has an 'any' type.

63 export * from './renderers/webgpu/WebGPURenderer';

Error: node_modules/three-stdlib/index.d.ts:64:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUComputePipelines'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUComputePipelines.js' implicitly has an 'any' type.

64 export * from './renderers/webgpu/WebGPUComputePipelines';


Error: node_modules/three-stdlib/index.d.ts:65:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUUniform'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUUniform.js' implicitly has an 'any' type.

65 export * from './renderers/webgpu/WebGPUUniform';

Error: node_modules/three-stdlib/index.d.ts:66:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUObjects'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUObjects.js' implicitly has an 'any' type.

66 export * from './renderers/webgpu/WebGPUObjects';


Error: node_modules/three-stdlib/index.d.ts:67:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUSampler'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUSampler.js' implicitly has an 'any' type.

67 export * from './renderers/webgpu/WebGPUSampler';

Error: node_modules/three-stdlib/index.d.ts:68:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUBackground'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUBackground.js' implicitly has an 'any' type.

68 export * from './renderers/webgpu/WebGPUBackground';


Error: node_modules/three-stdlib/index.d.ts:69:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUBinding'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUBinding.js' implicitly has an 'any' type.

69 export * from './renderers/webgpu/WebGPUBinding';

Error: node_modules/three-stdlib/index.d.ts:70:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUProperties'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUProperties.js' implicitly has an 'any' type.

70 export * from './renderers/webgpu/WebGPUProperties';


Error: node_modules/three-stdlib/index.d.ts:71:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUAttributes'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUAttributes.js' implicitly has an 'any' type.

71 export * from './renderers/webgpu/WebGPUAttributes';

Error: node_modules/three-stdlib/index.d.ts:72:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUStorageBuffer'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUStorageBuffer.js' implicitly has an 'any' type.

72 export * from './renderers/webgpu/WebGPUStorageBuffer';


Error: node_modules/three-stdlib/index.d.ts:73:15 - error TS7016: Could not find a declaration file for module './renderers/webgpu/WebGPUTextureUtils'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/renderers/webgpu/WebGPUTextureUtils.js' implicitly has an 'any' type.

73 export * from './renderers/webgpu/WebGPUTextureUtils';

Error: node_modules/three-stdlib/index.d.ts:77:15 - error TS7016: Could not find a declaration file for module './textures/FlakesTexture'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/textures/FlakesTexture.js' implicitly has an 'any' type.

77 export * from './textures/FlakesTexture';


Error: node_modules/three-stdlib/index.d.ts:82:1 - error TS2308: Module './modifiers/CurveModifier' has already exported a member named 'Flow'. Consider explicitly re-exporting to resolve the ambiguity.

82 export * from './nodes/Nodes';

Error: node_modules/three-stdlib/index.d.ts:104:1 - error TS2308: Module './objects/Reflector' has already exported a member named 'Reflector'. Consider explicitly re-exporting to resolve the ambiguity.

104 export * from './objects/ReflectorForSSRPass';


Error: node_modules/three-stdlib/index.d.ts:104:1 - error TS2308: Module './objects/Reflector' has already exported a member named 'ReflectorOptions'. Consider explicitly re-exporting to resolve the ambiguity.

104 export * from './objects/ReflectorForSSRPass';

Error: node_modules/three-stdlib/index.d.ts:106:1 - error TS2308: Module './objects/Water' has already exported a member named 'Water'. Consider explicitly re-exporting to resolve the ambiguity.

106 export * from './objects/Water2';


Error: node_modules/three-stdlib/index.d.ts:110:15 - error TS7016: Could not find a declaration file for module './utils/RoughnessMipmapper'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/utils/RoughnessMipmapper.js' implicitly has an 'any' type.

110 export * from './utils/RoughnessMipmapper';

Error: node_modules/three-stdlib/index.d.ts:160:15 - error TS7016: Could not find a declaration file for module './postprocessing/RenderPixelatedPass'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/postprocessing/RenderPixelatedPass.js' implicitly has an 'any' type.

160 export * from './postprocessing/RenderPixelatedPass';


Error: node_modules/three-stdlib/index.d.ts:181:15 - error TS7016: Could not find a declaration file for module './csm/Shader'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/csm/Shader.js' implicitly has an 'any' type.

181 export * from './csm/Shader';

Error: node_modules/three-stdlib/index.d.ts:183:15 - error TS7016: Could not find a declaration file for module './csm/Frustum'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/csm/Frustum.js' implicitly has an 'any' type.

183 export * from './csm/Frustum';


Error: node_modules/three-stdlib/index.d.ts:201:15 - error TS7016: Could not find a declaration file for module './loaders/XLoader'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/loaders/XLoader.js' implicitly has an 'any' type.

201 export * from './loaders/XLoader';

Error: node_modules/three-stdlib/index.d.ts:210:15 - error TS7016: Could not find a declaration file for module './loaders/AssimpLoader'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/loaders/AssimpLoader.js' implicitly has an 'any' type.

210 export * from './loaders/AssimpLoader';


Error: node_modules/three-stdlib/index.d.ts:225:15 - error TS7016: Could not find a declaration file for module './loaders/lwo/LWO3Parser'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/loaders/lwo/LWO3Parser.js' implicitly has an 'any' type.

225 export * from './loaders/lwo/LWO3Parser';

Error: node_modules/three-stdlib/index.d.ts:226:15 - error TS7016: Could not find a declaration file for module './loaders/lwo/LWO2Parser'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/loaders/lwo/LWO2Parser.js' implicitly has an 'any' type.

226 export * from './loaders/lwo/LWO2Parser';


Error: node_modules/three-stdlib/index.d.ts:227:15 - error TS7016: Could not find a declaration file for module './loaders/lwo/IFFParser'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/loaders/lwo/IFFParser.js' implicitly has an 'any' type.

227 export * from './loaders/lwo/IFFParser';

Error: node_modules/three-stdlib/index.d.ts:242:15 - error TS7016: Could not find a declaration file for module './loaders/NodeMaterialLoader'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/loaders/NodeMaterialLoader.js' implicitly has an 'any' type.

242 export * from './loaders/NodeMaterialLoader';


Error: node_modules/three-stdlib/index.d.ts:265:15 - error TS7016: Could not find a declaration file for module './libs/MeshoptDecoder'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/libs/MeshoptDecoder.js' implicitly has an 'any' type.

265 export * from './libs/MeshoptDecoder';

Error: node_modules/three-stdlib/index.d.ts:266:15 - error TS7016: Could not find a declaration file for module './libs/MotionControllers'. '/Users/mohahmed6/Documents/Work/NGT/ngt-app/node_modules/three-stdlib/libs/MotionControllers.js' implicitly has an 'any' type.

266 export * from './libs/MotionControllers';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:8:15 - error TS2307: Cannot find module './core/StructNode' or its corresponding type declarations.

8 export * from './core/StructNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:13:15 - error TS2307: Cannot find module './core/NodeLib' or its corresponding type declarations.

13 export * from './core/NodeLib';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:21:15 - error TS2307: Cannot find module './inputs/BoolNode' or its corresponding type declarations.

21 export * from './inputs/BoolNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:22:15 - error TS2307: Cannot find module './inputs/IntNode' or its corresponding type declarations.

22 export * from './inputs/IntNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:23:15 - error TS2307: Cannot find module './inputs/FloatNode' or its corresponding type declarations.

23 export * from './inputs/FloatNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:24:15 - error TS2307: Cannot find module './inputs/Vector2Node' or its corresponding type declarations.

24 export * from './inputs/Vector2Node';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:25:15 - error TS2307: Cannot find module './inputs/Vector3Node' or its corresponding type declarations.

25 export * from './inputs/Vector3Node';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:26:15 - error TS2307: Cannot find module './inputs/Vector4Node' or its corresponding type declarations.

26 export * from './inputs/Vector4Node';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:27:15 - error TS2307: Cannot find module './inputs/ColorNode' or its corresponding type declarations.

27 export * from './inputs/ColorNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:28:15 - error TS2307: Cannot find module './inputs/Matrix3Node' or its corresponding type declarations.

28 export * from './inputs/Matrix3Node';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:29:15 - error TS2307: Cannot find module './inputs/Matrix4Node' or its corresponding type declarations.

29 export * from './inputs/Matrix4Node';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:30:15 - error TS2307: Cannot find module './inputs/TextureNode' or its corresponding type declarations.

30 export * from './inputs/TextureNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:31:15 - error TS2307: Cannot find module './inputs/CubeTextureNode' or its corresponding type declarations.

31 export * from './inputs/CubeTextureNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:32:15 - error TS2307: Cannot find module './inputs/ScreenNode' or its corresponding type declarations.

32 export * from './inputs/ScreenNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:33:15 - error TS2307: Cannot find module './inputs/ReflectorNode' or its corresponding type declarations.

33 export * from './inputs/ReflectorNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:34:15 - error TS2307: Cannot find module './inputs/PropertyNode' or its corresponding type declarations.

34 export * from './inputs/PropertyNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:35:15 - error TS2307: Cannot find module './inputs/RTTNode' or its corresponding type declarations.

35 export * from './inputs/RTTNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:40:15 - error TS2307: Cannot find module './accessors/ColorsNode' or its corresponding type declarations.

40 export * from './accessors/ColorsNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:44:15 - error TS2307: Cannot find module './accessors/LightNode' or its corresponding type declarations.

44 export * from './accessors/LightNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:46:15 - error TS2307: Cannot find module './accessors/ScreenUVNode' or its corresponding type declarations.

46 export * from './accessors/ScreenUVNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:47:15 - error TS2307: Cannot find module './accessors/ResolutionNode' or its corresponding type declarations.

47 export * from './accessors/ResolutionNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:57:15 - error TS2307: Cannot find module './procedural/NoiseNode' or its corresponding type declarations.

57 export * from './procedural/NoiseNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:62:15 - error TS2307: Cannot find module './misc/TextureCubeUVNode' or its corresponding type declarations.

62 export * from './misc/TextureCubeUVNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:63:15 - error TS2307: Cannot find module './misc/TextureCubeNode' or its corresponding type declarations.

63 export * from './misc/TextureCubeNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:64:15 - error TS2307: Cannot find module './misc/NormalMapNode' or its corresponding type declarations.

64 export * from './misc/NormalMapNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:65:15 - error TS2307: Cannot find module './misc/BumpMapNode' or its corresponding type declarations.

65 export * from './misc/BumpMapNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:69:15 - error TS2307: Cannot find module './utils/BypassNode' or its corresponding type declarations.

69 export * from './utils/BypassNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:71:15 - error TS2307: Cannot find module './utils/SwitchNode' or its corresponding type declarations.

71 export * from './utils/SwitchNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:73:15 - error TS2307: Cannot find module './utils/VelocityNode' or its corresponding type declarations.

73 export * from './utils/VelocityNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:74:15 - error TS2307: Cannot find module './utils/UVTransformNode' or its corresponding type declarations.

74 export * from './utils/UVTransformNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:75:15 - error TS2307: Cannot find module './utils/MaxMIPLevelNode' or its corresponding type declarations.

75 export * from './utils/MaxMIPLevelNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:76:15 - error TS2307: Cannot find module './utils/SpecularMIPLevelNode' or its corresponding type declarations.

76 export * from './utils/SpecularMIPLevelNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:77:15 - error TS2307: Cannot find module './utils/ColorSpaceNode' or its corresponding type declarations.

77 export * from './utils/ColorSpaceNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:81:15 - error TS2307: Cannot find module './effects/BlurNode' or its corresponding type declarations.

81 export * from './effects/BlurNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:82:15 - error TS2307: Cannot find module './effects/ColorAdjustmentNode' or its corresponding type declarations.

82 export * from './effects/ColorAdjustmentNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:83:15 - error TS2307: Cannot find module './effects/LuminanceNode' or its corresponding type declarations.

83 export * from './effects/LuminanceNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:87:15 - error TS2307: Cannot find module './materials/nodes/RawNode' or its corresponding type declarations.

87 export * from './materials/nodes/RawNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:88:15 - error TS2307: Cannot find module './materials/nodes/BasicNode' or its corresponding type declarations.

88 export * from './materials/nodes/BasicNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:89:15 - error TS2307: Cannot find module './materials/nodes/SpriteNode' or its corresponding type declarations.

89 export * from './materials/nodes/SpriteNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:90:15 - error TS2307: Cannot find module './materials/nodes/PhongNode' or its corresponding type declarations.

90 export * from './materials/nodes/PhongNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:91:15 - error TS2307: Cannot find module './materials/nodes/StandardNode' or its corresponding type declarations.

91 export * from './materials/nodes/StandardNode';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:92:15 - error TS2307: Cannot find module './materials/nodes/MeshStandardNode' or its corresponding type declarations.

92 export * from './materials/nodes/MeshStandardNode';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:97:15 - error TS2307: Cannot find module './materials/BasicNodeMaterial' or its corresponding type declarations.

97 export * from './materials/BasicNodeMaterial';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:98:15 - error TS2307: Cannot find module './materials/SpriteNodeMaterial' or its corresponding type declarations.

98 export * from './materials/SpriteNodeMaterial';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:99:15 - error TS2307: Cannot find module './materials/PhongNodeMaterial' or its corresponding type declarations.

99 export * from './materials/PhongNodeMaterial';

Error: node_modules/three-stdlib/nodes/Nodes.d.ts:100:15 - error TS2307: Cannot find module './materials/StandardNodeMaterial' or its corresponding type declarations.

100 export * from './materials/StandardNodeMaterial';


Error: node_modules/three-stdlib/nodes/Nodes.d.ts:105:15 - error TS2307: Cannot find module './postprocessing/NodePostProcessing' or its corresponding type declarations.

105 export * from './postprocessing/NodePostProcessing';

Error: node_modules/three-stdlib/nodes/accessors/CameraNode.d.ts:6:27 - error TS2307: Cannot find module '../inputs/FloatNode' or its corresponding type declarations.

6 import { FloatNode } from '../inputs/FloatNode';


Error: node_modules/three-stdlib/nodes/materials/MeshStandardNodeMaterial.d.ts:1:23 - error TS2307: Cannot find module '../../../../src/math/Color' or its corresponding type declarations.

1 import { Color } from '../../../../src/math/Color';

Error: node_modules/three-stdlib/nodes/materials/MeshStandardNodeMaterial.d.ts:2:25 - error TS2307: Cannot find module '../../../../src/textures/Texture' or its corresponding type declarations.

2 import { Texture } from '../../../../src/textures/Texture';


Error: node_modules/three-stdlib/nodes/materials/MeshStandardNodeMaterial.d.ts:3:29 - error TS2307: Cannot find module '../../../../src/textures/CubeTexture' or its corresponding type declarations.

3 import { CubeTexture } from '../../../../src/textures/CubeTexture';

Error: node_modules/three-stdlib/nodes/materials/MeshStandardNodeMaterial.d.ts:4:25 - error TS2307: Cannot find module '../../../../src/math/Vector2' or its corresponding type declarations.

4 import { Vector2 } from '../../../../src/math/Vector2';


Error: node_modules/three-stdlib/nodes/materials/NodeMaterial.d.ts:6:25 - error TS2307: Cannot find module './nodes/RawNode' or its corresponding type declarations.

6 import { RawNode } from './nodes/RawNode';

Error: node_modules/three-stdlib/nodes/procedural/CheckerNode.d.ts:4:33 - error TS2307: Cannot find module '../utils/UVTransformNode' or its corresponding type declarations.

4 import { UVTransformNode } from '../utils/UVTransformNode';


Error: node_modules/three-stdlib/nodes/utils/TimerNode.d.ts:2:27 - error TS2307: Cannot find module '../inputs/FloatNode' or its corresponding type declarations.

2 import { FloatNode } from '../inputs/FloatNode';

Error: node_modules/three-stdlib/webxr/XREstimatedLight.d.ts:1:47 - error TS2305: Module '"three"' has no exported member 'XRFrame'.

1 import { DirectionalLight, Group, LightProbe, XRFrame, WebGLRenderer, Texture } from 'three';

IRobot1 commented 2 years ago

I can repeat these errors with your project, but haven't found a way clear it.

What's odd is that I've never run into this problem with any of my own projects that include SOBA and orbit control.

IRobot1 commented 2 years ago

You're missing the following in tsconfig.json, under compilerOptions, add "skipLibCheck": true

For any future projects, to add @angular-three to a project, I recommend following the Installation Instructions. The schematic automatically makes this change to tsconfig.json.

@nartc Can you update the peer dependencies section to use these instructions instead of the current npm install -E three@0.140 npm install -DE @types/three which leads to users having this problem.

Thanks

AkramFaiz commented 2 years ago

Thanks @IRobot1