PokemonGoers / PokeMap-2

The world of Pokemon GO is as big as our planet. Pokemons have been sighted on top of cliffs perched over oceans as well as in your next door coffee shop. We would like to create a world-wide interactive map that shows where Pokemons were predicted to appear. Each pokemon prediction you add to the map should have all relevant information including name, time the pokemon is predicted to appear, prediction confidence rate etc. The map should be filtered by a time range (i.e predicted to appear in the next day) as well as pokemon name and pokemon specie.
Apache License 2.0
2 stars 7 forks source link

Missing module './L.Routing.Itinerary' #47

Closed johartl closed 8 years ago

johartl commented 8 years ago

Hi guys, with your latest npm release there seem to be some missing packages. Here's the result of npm install pokemap-2.

> leaflet-control-geocoder@1.5.2 postinstall /data/code/pokemon/node_modules/pokemap-2/node_modules/leaflet-control-geocoder
> sh ./scripts/build.sh

> pokemap-2@0.2.0 postinstall /data/code/pokemon/node_modules/pokemap-2
> browserify js/pokemap.js -o pokemap.bundle.js -t es6ify -t browserify-css -g browserify-css --standalone PokeMap

Error: Cannot find module './L.Routing.Itinerary' from '/data/code/pokemon/node_modules/pokemap-2/node_modules/leaflet-routing-machine/dist'
    at /data/code/pokemon/node_modules/resolve/lib/async.js:55:21
    at load (/data/code/pokemon/node_modules/resolve/lib/async.js:69:43)
    at onex (/data/code/pokemon/node_modules/resolve/lib/async.js:92:31)
    at /data/code/pokemon/node_modules/resolve/lib/async.js:22:47
    at FSReqWrap.oncomplete (fs.js:117:15)
farisca commented 8 years ago

I think it's fixed with the new version 0.2.1

johartl commented 8 years ago

Unfortunately it's still not working

> leaflet-control-geocoder@1.5.2 postinstall /data/code/pokemon/node_modules/pokemap-2/node_modules/leaflet-control-geocoder
> sh ./scripts/build.sh

> pokemap-2@0.2.1 postinstall /data/code/pokemon/node_modules/pokemap-2
> browserify js/pokemap.js -o pokemap.bundle.js -t es6ify -t browserify-css -g browserify-css --standalone PokeMap

Error: Cannot find module './geocoders/nominatim' from '/data/code/pokemon/node_modules/pokemap-2/node_modules/leaflet-control-geocoder/dist'
    at /data/code/pokemon/node_modules/resolve/lib/async.js:55:21
    at load (/data/code/pokemon/node_modules/resolve/lib/async.js:69:43)
    at onex (/data/code/pokemon/node_modules/resolve/lib/async.js:92:31)
    at /data/code/pokemon/node_modules/resolve/lib/async.js:22:47
    at FSReqWrap.oncomplete (fs.js:117:15)

You might need to delete your node_modules folder to see the effect.

sacdallago commented 8 years ago

If you installed it with the -g option, then you will never be able to reproduce the error @farisca

farisca commented 8 years ago

Ok, so there's a new version - 0.2.2. Hopefully this one fixes the issue

johartl commented 8 years ago

It's fixed. Thanks!