keeweb/kdbxweb

Fails on Nodejs 5

perry-mitchell opened this issue · 2 comments

I get the following error output when testing on Travis:

Using worker: worker-linux-docker-c88f3d31.prod.travis-ci.org:travis-linux-2

Build system information
Build language: node_js
Build image provisioning date and time
Thu Feb  5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"

$ git clone --depth=50 --branch=master https://github.com/perry-mitchell/buttercup-importer.git perry-mitchell/buttercup-importer
Cloning into 'perry-mitchell/buttercup-importer'...
remote: Counting objects: 42, done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 42 (delta 11), reused 36 (delta 8), pack-reused 0
Unpacking objects: 100% (42/42), done.
Checking connectivity... done.
$ cd perry-mitchell/buttercup-importer
$ git checkout -qf 3836392500d5d7a015ad001ed75d3b5c531a4d18

This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
$ nvm install stable
######################################################################## 100.0%
Checksums empty
Now using node v5.0.0
$ node --version
v5.0.0
$ npm --version
3.3.6
$ nvm --version
0.23.3
$ npm install 
npm WARN engine asmcrypto.js@0.0.10-alpha-fix-3: wanted: {"node":"~0.10"} (current: {"node":"5.0.0","npm":"3.3.6"})

> kdbxweb@0.2.1 postinstall /home/travis/build/perry-mitchell/buttercup-importer/node_modules/kdbxweb
> cd node_modules/asmcrypto.js && npm install && grunt --with=utils,aes-cbc,aes-ecb,sha256

sh: 1: cd: can't cd to node_modules/asmcrypto.js
buttercup-import-keepass@0.2.0 /home/travis/build/perry-mitchell/buttercup-importer
├─┬ buttercup@0.6.0 
│ ├── clone@1.0.2 
│ ├── curlrequest@0.5.3 
│ ├── promise-polyfill@2.1.0 
│ ├── uuid@2.0.1 
│ └─┬ xml2js@0.4.15 
│   ├── sax@1.1.4 
│   └─┬ xmlbuilder@4.0.0 
│     └── lodash@3.10.1 
└─┬ nodeunit@0.9.1 
  └─┬ tap@0.7.1 
    ├── buffer-equal@0.0.1 
    ├── deep-equal@1.0.1 
    ├─┬ difflet@0.2.6 
    │ ├── charm@0.1.2 
    │ ├── deep-is@0.1.3 
    │ └── traverse@0.6.6 
    ├─┬ glob@4.5.3 
    │ ├─┬ inflight@1.0.4 
    │ │ └── wrappy@1.0.1 
    │ ├─┬ minimatch@2.0.10 
    │ │ └─┬ brace-expansion@1.1.1 
    │ │   ├── balanced-match@0.2.1 
    │ │   └── concat-map@0.0.1 
    │ └── once@1.3.2 
    ├── inherits@2.0.1 
    ├─┬ mkdirp@0.5.1 
    │ └── minimist@0.0.8 
    ├─┬ nopt@3.0.4 
    │ └── abbrev@1.0.7 
    ├─┬ runforcover@0.0.2 
    │ └─┬ bunker@0.1.2 
    │   └─┬ burrito@0.2.12 
    │     ├── traverse@0.5.2 
    │     └── uglify-js@1.1.1 
    ├── slide@1.1.6 
    └── yamlish@0.0.7 

npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v5.0.0/bin/node" "/home/travis/.nvm/versions/node/v5.0.0/bin/npm" "install"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
npm ERR! code ELIFECYCLE

npm ERR! kdbxweb@0.2.1 postinstall: `cd node_modules/asmcrypto.js && npm install && grunt --with=utils,aes-cbc,aes-ecb,sha256`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the kdbxweb@0.2.1 postinstall script 'cd node_modules/asmcrypto.js && npm install && grunt --with=utils,aes-cbc,aes-ecb,sha256'.
npm ERR! This is most likely a problem with the kdbxweb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cd node_modules/asmcrypto.js && npm install && grunt --with=utils,aes-cbc,aes-ecb,sha256
npm ERR! You can get their info via:
npm ERR!     npm owner ls kdbxweb
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/travis/build/perry-mitchell/buttercup-importer/npm-debug.log

# SNIPPED

The command "eval npm install " failed 3 times.


The command "npm install " failed and exited with 1 during .

Your build has been stopped.

Hello,
It's really strange that CD fails on your system. I'll add dist file now.

Now it doesn't require building asmCrypto at install; should work, please test.