mapbox / mapbox-studio-classic

https://www.mapbox.com/mapbox-studio/
BSD 3-Clause "New" or "Revised" License
1.14k stars 229 forks source link

npm test failure on Ubuntu 14.04 #1554

Open pnorman opened 8 years ago

pnorman commented 8 years ago

running npm install && npm test gives

> mapbox-studio@0.3.5 pretest /home/pnorman/osm/mapbox-studio-classic
> npm ls --depth=Infinity
 && tape ./test/duplicate_module.pretest.js
...
TAP version 13                                                                                                                                         [62/1894]
# there should only be one mapnik module, otherwise you are asking for pwnage
not ok 1 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 2 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...
# there should only be one sqlite3 module, otherwise you are asking for pwnage
not ok 3 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 4 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...
# there should only be one gdal module, otherwise you are asking for pwnage
not ok 5 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 6 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...
# there should only be one srs module, otherwise you are asking for pwnage
not ok 7 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 8 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...
# there should only be one tilelive module, otherwise you are asking for pwnage
not ok 9 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 10 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...
# there should only be one mbtiles module, otherwise you are asking for pwnage
not ok 11 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 12 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...
# there should only be one mapnik-reference module, otherwise you are asking for pwnage
not ok 13 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 14 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...
# there should only be one carto module, otherwise you are asking for pwnage
not ok 15 should not be equal
  ---
    operator: notEqual
    expected: undefined
    actual:   0
  ...
not ok 16 should be equal
  ---
    operator: equal
    expected: 1
    actual:   0
  ...

1..16
# tests 16
# pass  0
# fail  16

npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

npm ls --depth=Infinity output attached