angular-hammer icon indicating copy to clipboard operation
angular-hammer copied to clipboard

Browserify compile error.

Open dobromir-hristov opened this issue 9 years ago • 3 comments
trafficstars

I get a browserify error that says Angular and Hammer cannot be found. I import them right above the angular-hammer import. When I took a closer look, it was searching inside the wrong folders for them: (node_modules\angular-hammer\node_modules\hammerjs\hammer.js) something like that. So I went into angular-hammer's package.json and removed angular and hammerjs from the browser property and all got fixed... Is this really how it should be acting?

dobromir-hristov avatar May 18 '16 04:05 dobromir-hristov

This is still an issue and I would love if someone could give me an answer.

dobromir-hristov avatar May 30 '16 13:05 dobromir-hristov

No, it's not supposed to be like that. Commit https://github.com/RyanMullins/angular-hammer/commit/ff754eefb189c10b621465df03d0a6a5f423917f contains a fix for Browserify, but it was merged two weeks after the latest release.

@RyanMullins Could 2.2.0 be released?

ipavlic avatar May 31 '16 10:05 ipavlic

Just did, though I can't say I did much in the way of testing.

It's probably obvious by this point, but I haven't been using this library much recently and I don't see myself having time to get back to it frequently. I'm going to try and find a solution to long-term maintenance this month.

RyanMullins avatar Jun 03 '16 20:06 RyanMullins