Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'EventDispatcher' of undefined #13

Open
aref-lazrek opened this issue Aug 12, 2019 · 5 comments
Open

TypeError: Cannot read property 'EventDispatcher' of undefined #13

aref-lazrek opened this issue Aug 12, 2019 · 5 comments

Comments

@aref-lazrek
Copy link

aref-lazrek commented Aug 12, 2019

Not working with react
`TypeError: Cannot read property 'EventDispatcher' of undefined
eval
node_modules/babel-loader/lib/index.js??ref--6-oneOf-2!/.../node_modules/3d-flip-book/dist/flip-book.js:12429:3
12426 | }
12427 |
12428 | return Orbit;

12429 | }(_libs.THREE.EventDispatcher);
| ^ 12430 |
12431 | exports.default = Orbit;
12432 | /***/`

@marcmoraRAONA
Copy link

Hi , nothing about it? I've same problem

@alexFPalmero
Copy link

I have this issue using the latest Ionic version.

@julianlaibach
Copy link

Has anyone a solution on this? Facing the same issue using npm and webpack

@akif-farooq-alw
Copy link

Please let me know if any one has successfully integrated it in react js project

@n-ich
Copy link

n-ich commented Nov 17, 2022

About this issue, what resolve the problem for me was update the version from three.js (and a-frame if you are using it) on index.html:
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/three.js/build/ar.js"></script>

so you can build again your project

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

No branches or pull requests

6 participants