react-three-renderer-fiber icon indicating copy to clipboard operation
react-three-renderer-fiber copied to clipboard

Cannot find module './IReactThreeRendererElement'.

Open falkolab opened this issue 6 years ago • 3 comments
trafficstars

I trying to use your library from typescript project. But I got compilation error:

.../node_modules/react-three-renderer-fiber/lib/core/renderer/hostDescriptors/common/cameraBase.d.ts
(3,40): Cannot find module './IReactThreeRendererElement'.

falkolab avatar Nov 27 '18 18:11 falkolab

Hello @falkolab this version is practically unsupported to work in most conditions, but if you provide details on how you are using it I can check if it could be made to work for your use case :)

Can you please provide the relevant parts of your package json, typescript config, and which files you are including to be used? A link to a repository could help too.

I am away on a work trip at the moment so I may only be able to take a look in an evening next week, but if others are around they can probably respond a bit sooner.

toxicFork avatar Nov 28 '18 18:11 toxicFork

I'm looking for more production ready solutions for my project. And I doing some experiment works. Sorry I can't provide it to you. That is some part that cause error what I mention about:

import React3 from "react-three-renderer-fiber/lib/bridge/React3";
import webGLRenderer from "react-three-renderer-fiber/lib/core/renderer/hostDescriptors/descriptors/webGLRenderer";

...
return <React3>
      <webGLRenderer
        width={width}
        height={height}
      >
...

falkolab avatar Nov 28 '18 19:11 falkolab

Apologies for the late reply, unfortunately I could not find out what is causing the problem.

toxicFork avatar Jan 09 '19 14:01 toxicFork