ac-koa dependency missing

Issue #4 new
Former user created an issue

When i execute "vagrant up" i get the following error message:

tom:my-addon tom$ vagrant up
...
==> default: Tunnel established at https://69780b29.ngrok.com
==> default: Run 'cd project && npm run web-dev' to start your add-on.
==> default: 
==> default: > kerberos@0.0.11 install /home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos
==> default: > (node-gyp rebuild 2> builderror.log) || (exit 0)
==> default: 
==> default: > kerberos@0.0.11 install /home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos
==> default: > (node-gyp rebuild 2> builderror.log) || (exit 0)
==> default: 
==> default: > bson@0.2.22 install /home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/bson
==> default: > (node-gyp rebuild 2> builderror.log) || (exit 0)
==> default: 
==> default: > bson@0.2.22 install /home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/bson
==> default: > (node-gyp rebuild 2> builderror.log) || (exit 0)
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

However, "vagrant ssh" into the machine works. But starting the app results in:

vagrant@vagrant-ubuntu-trusty-64:~$ cd project && npm run web-dev

> testtest@0.1.0 web-dev /home/vagrant/project
> nodemon --harmony -e js,json,css,hbs web.js

2 Oct 13:31:46 - [nodemon] 1.7.1
2 Oct 13:31:46 - [nodemon] to restart at any time, enter `rs`
2 Oct 13:31:46 - [nodemon] watching: *.*
2 Oct 13:31:46 - [nodemon] starting `node --harmony web.js`
module.js:338
    throw err;
          ^
Error: Cannot find module 'ac-koa'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/home/vagrant/project/web.js:1:73)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
2 Oct 13:31:46 - [nodemon] app crashed - waiting for file changes before starting...

Because it seemed like there were dependencies missing I tried to run "nmp install" but this results in an error, too:

vagrant@vagrant-ubuntu-trusty-64:~/project$ npm install
npm WARN package.json doc-robotnik@0.1.0 No repository field.
npm WARN package.json doc-robotnik@0.1.0 license should be a valid SPDX license expression
npm WARN engine ac-koa@0.2.6: wanted: {"node":"~0.11.13"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine ac-koa-hipchat@0.2.19: wanted: {"node":"~0.11.13"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine ac-node-hipchat@0.2.10: wanted: {"node":"~0.10.29"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine ac-node@0.2.3: wanted: {"node":"~0.10.29"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN peerDependencies The peer dependency mocha@1.x included from co-mocha will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN engine ac-node@0.2.3: wanted: {"node":"~0.10.29"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.11.3"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.11.3"})
-
> kerberos@0.0.11 install /home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
make: Leaving directory `/home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos/build'

> kerberos@0.0.11 install /home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
make: Leaving directory `/home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/kerberos/build'

> bson@0.2.22 install /home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/bson/build'
  CXX(target) Release/obj.target/bson/ext/bson.o
  SOLINK_MODULE(target) Release/obj.target/bson.node
  COPY Release/bson.node
make: Leaving directory `/home/vagrant/project/node_modules/ac-koa/node_modules/ac-node/node_modules/mongodb/node_modules/bson/build'

> bson@0.2.22 install /home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory `/home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/bson/build'
  CXX(target) Release/obj.target/bson/ext/bson.o
  SOLINK_MODULE(target) Release/obj.target/bson.node
  COPY Release/bson.node
make: Leaving directory `/home/vagrant/project/node_modules/ac-koa-hipchat/node_modules/ac-node-hipchat/node_modules/ac-node/node_modules/mongodb/node_modules/bson/build'
npm ERR! Linux 3.13.0-65-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! path ../node-uuid/bin/uuid
npm ERR! code EPROTO
npm ERR! errno -71

npm ERR! EPROTO, symlink '../node-uuid/bin/uuid'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/vagrant/project/npm-debug.log

Comments (0)

  1. Log in to comment