mapbox / leaflet-omnivore

universal format parser for Leaflet & Mapbox.js
https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-gpx/
Other
651 stars 126 forks source link

Dependencies broken #53

Closed runarberg closed 9 years ago

runarberg commented 9 years ago

Omnivore cannot be used with npm + browserify.

After installing with npm install --save leaflet-omnivore and including with var omnivore = require("leaflet-omnivore"); I get the following error while compiling with browerify

cannot find module 'brfs' from '/path/to/my/project/node_modules/leaflet-omnivore'
cannot find module 'hintify' from '/path/to/my/project/node_modules/leaflet-omnivore'

I suspect it might be because of a mixup of dependencies and dev-dependencies in your package.json