angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
314 stars 134 forks source link

Are there any build instructions? #97

Open nmccready opened 9 years ago

nmccready commented 9 years ago

From @stev-0 on July 31, 2015 17:55

I have tried to build the project on Windows and on Linux and have come across issues. On Windows I had to compile some code and install old versions of Visual Studio (no thanks) so swiftly switched to Linux, where I had a problem with the node 'inherits' module not being available (could it be in package.json), and then a problem with node_modules/esprima/esprima.js:2764 }); ^ SyntaxError: Unexpected token )

Is there anywhere with some tips? Happy to start one somewhere, assuming I make any headway. Alternatively, it could be a temporary problem with one of the dependencies.

Copied from original issue: tombatossals/angular-leaflet-directive#877

nmccready commented 9 years ago

From @tombatossals on July 31, 2015 18:1

Hi @stev-0, you have install instructions here:

http://tombatossals.github.io/angular-leaflet-directive/#!/howto-extend

I'm not sure about the problem you are reporting with the "esprima" module, we're not using it, maybe is a dependency of another module we're using, but I can compile the project without problem with Linux.

You have some more compilation instructions here:

https://github.com/tombatossals/angular-leaflet-directive/blob/master/CONTRIBUTING.md

nmccready commented 9 years ago

Also if you try running grunt graph you will need to install graphviz brew install graphviz

nmccready commented 9 years ago

From @stev-0 on August 2, 2015 18:38

OK, thanks. Bit wierd - works on my shiny new Fedora 22, but not on my venerable Debian 7 (Node 0.12.7 and npm 2.13.3. On the latter I just get a load of unmet dependency warnings and then the error message above. Assume this is a problem with my setup or the node on debian setup.