iberezansky / flip-book-jquery

3D FlipBook allows to browse images, PDFs or HTMLs as a flipping book. It helps to attract user attention and make more impression on him.
http://3dflipbook.net/
GNU General Public License v2.0
227 stars 88 forks source link

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

Open aref-lazrek opened 5 years ago

aref-lazrek commented 5 years ago

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 commented 5 years ago

Hi , nothing about it? I've same problem

alexFPalmero commented 3 years ago

I have this issue using the latest Ionic version.

julianlaibach commented 2 years ago

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

akif-farooq-alw commented 2 years ago

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

n-ich commented 1 year ago

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