Runnign npm run watch fails
hallahan opened this issue · 0 comments
hallahan commented
When I run npm run watch
, I get this error:
npm run watch
> leaflet-mapbox-vector-tile@0.1.3 watch /Users/nick/code/Leaflet.MapboxVectorTile
> watchify -v -d src/MVTSource.js -o dist/Leaflet.MapboxVectorTile.js
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOTDIR, lstat '/Users/nick/code/Leaflet.MapboxVectorTile/node_modules/vector-tile/lib/vectortilelayer.js/package.json'
npm ERR! leaflet-mapbox-vector-tile@0.1.3 watch: `watchify -v -d src/MVTSource.js -o dist/Leaflet.MapboxVectorTile.js`
But when I run the command as:
watchify -v -d src/MVTSource.js -o dist/Leaflet.MapboxVectorTile.js
All is well. Something is off with paths. Maybe in the Mapbox package???