nikini / ionic-gallery-modal

Ionic Gallery Modal (to show all your photos)
166 stars 84 forks source link

runtime error #56

Closed zhuguoliangAI closed 6 years ago

zhuguoliangAI commented 6 years ago

i install the gallery-modal follow the readme.md, and when i start my demo, there is a error like this

Error: Uncaught (in promise): TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined at HammerGesturesPlugin.isCustomEvent (http://localhost:8100/build/vendor.js:35509:55) at HammerGesturesPlugin.supports (http://localhost:8100/build/vendor.js:35467:75) at EventManager._findPluginFor (http://localhost:8100/build/vendor.js:34352:26) at EventManager.addEventListener (http://localhost:8100/build/vendor.js:34307:44) at DefaultDomRenderer2.listen (http://localhost:8100/build/vendor.js:34962:53) at DebugRenderer2.listen (http://localhost:8100/build/vendor.js:15477:30) at listenToElementOutputs (http://localhost:8100/build/vendor.js:10660:83) at createViewNodes (http://localhost:8100/build/vendor.js:13769:17) at createEmbeddedView (http://localhost:8100/build/vendor.js:13680:5) at callWithDebugContext (http://localhost:8100/build/vendor.js:15093:42) at c (http://localhost:8100/build/polyfills.js:3:19752) at Object.reject (http://localhost:8100/build/polyfills.js:3:19174) at NavControllerBase._fireError (http://localhost:8100/build/vendor.js:48522:16) at NavControllerBase._failed (http://localhost:8100/build/vendor.js:48515:14) at http://localhost:8100/build/vendor.js:48562:59 at t.invoke (http://localhost:8100/build/polyfills.js:3:14976) at Object.onInvoke (http://localhost:8100/build/vendor.js:4982:33) at t.invoke (http://localhost:8100/build/polyfills.js:3:14916) at r.run (http://localhost:8100/build/polyfills.js:3:10143) at http://localhost:8100/build/polyfills.js:3:20242

and my ionic info is like this:

info and my code is so easy like this: code1 code2 coode3 anybody meet this error?or can anybody help me? thank you very much

zhuguoliangAI commented 6 years ago

oooh, it's my problem,i solved myself。