Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9264

Gulpfile fails on leaflet when compiling from source

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2017-03-13
    • None
    • JavaScript, Scripts
    • None

      I am attempting to compile musicbrainz from source in a b-hyve hypervisor virtual machine running ubuntu 16.04 using the instructions found here: https://github.com/metabrainz/musicbrainz-server/blob/master/INSTALL.md

      At the ./script/compile_resources.sh step I receive the following error:

      famewolf@musicbrainz:~/musicbrainz-server$ ./script/compile_resources.sh
      [10:45:18] Using gulpfile ~/musicbrainz-server/gulpfile.js
      [10:45:18] Starting 'default'...
      events.js:141
      throw er; // Unhandled 'error' event
      ^

      Error: ENOENT: no such file or directory, open '/home/famewolf/musicbrainz-server/root/static/images/leaflet/*.png'
      at Error (native)

      however the files ARE there:

      /home/famewolf/musicbrainz-server/root/static/images/leaflet/arena-marker-icon-2x.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/arena-marker-icon.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/cluster-marker-icon.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/layers-2x.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/layers.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/marker-icon-2x.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/marker-icon.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/marker-shadow.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/*.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/religious-marker-icon-2x.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/religious-marker-icon.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/stadium-marker-icon-2x.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/stadium-marker-icon.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/studio-marker-icon-2x.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/studio-marker-icon.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/venue-marker-icon-2x.png
      /home/famewolf/musicbrainz-server/root/static/images/leaflet/venue-marker-icon.png

            bitmap Michael Wiencek
            famewolf Rudi Pittman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2017-03-13