Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Cannot find module './IReactThreeRendererElement'. #89

Open
falkolab opened this issue Nov 27, 2018 · 3 comments
Open

Cannot find module './IReactThreeRendererElement'. #89

falkolab opened this issue Nov 27, 2018 · 3 comments

Comments

@falkolab
Copy link

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'.
@toxicFork
Copy link
Collaborator

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.

@falkolab
Copy link
Author

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}
      >
...

@toxicFork
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants