leonardosalles / ionic2-zoom-area

A zoom area component with pinch support
MIT License
33 stars 13 forks source link

library requires angular animations, docs should mention it #4

Closed jimmy-tfp closed 7 years ago

jimmy-tfp commented 7 years ago

you need to run npm install @angular/animations --save or this directive will not compile

christianwico commented 7 years ago

I have this issue as well. I installed @angular/animations (v4.4.4). What do I need to import?

leonardosalles commented 7 years ago

It just depends on angular animations 4.4.4. What is the exactly error that you guys have? Can someone please add your console output

jimmy-tfp commented 7 years ago

the error is:

Runtime Error
Cannot find module "@angular/animations"
Stack
Error: Cannot find module "@angular/animations"
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:78901:7)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:119250:79)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.257 (http://localhost:8100/build/main.js:96:75)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.252 (http://localhost:8100/build/main.js:78:70)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at webpackJsonpCallback (http://localhost:8100/build/vendor.js:26:23)
    at http://localhost:8100/build/main.js:1:1
leonardosalles commented 7 years ago

Info was added to README file, closing the issue. commit 9d21fbc