Picture of jim nielsen
errors during vagrant up - really don't have much of a clue
by jim nielsen - Tuesday, 8 March 2016, 1:13 AM
 

I took the output into notepad and cleaned it up by hand hoping someone could give me some ideas.  I just copied the error bits: Please tell me what I should try next

npm
WARN
package.json
adapt-origin@0.1.5 No README data
URIjs@1.12.1: package renamed to "urijs" (lower-case), please update accordingly
lodash@0.9.2: Grunt needs your help! See https://github.com/gruntjs/grunt/issues/1403.
graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
lodash@2.3.0: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npmconf@2.1.1: this package has been reintegrated into npm and is now out of date with respect to npm
lodash@2.3.0: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npmconf@2.1.1: this package has been reintegrated into npm and is now out of date with respect to npm
graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
The peer dependency kerberos@~0.0 included from mongodb-core will no longer be automatically installed to fulfill the peerDependency
peerDependencies
in npm 3+. Your application will need to depend on it explicitly.
gyp
WARN
EACCES
user "root" does not have permission to access the dev dir "/root/.node-gyp/4.3.2"
gyp
WARN
EACCES
attempting to reinstall using temporary dev dir "/home/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/.node-gyp"
make: Entering directory `/home/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
#include <gssapi/gssapi.h>
^
compilation terminated.
make:
*** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/home/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'
gyp
ERR!
build error
gyp
ERR!
stack
Error: `make` failed with exit code: 2
gyp
ERR!
stack
at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp
ERR!
stack
at emitTwo (events.js:87:13)
gyp
ERR!
stack
at ChildProcess.emit (events.js:172:7)
gyp
ERR!
stack
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp
ERR!
System
Linux 3.13.0-79-generic
gyp
ERR!
command
"/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp
ERR!
cwd
/home/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos
gyp
ERR!
node -v
v4.3.2
gyp
ERR!
node-gyp -v
v3.0.3
gyp
ERR!
not ok
Clone from GitHub was successful.
&&&&&&&&&&&&&&&&&
Running 'npm install' for the Adapt Framework...
npm WARN package.json adapt_framework@2.0.0 license should be a valid SPDX license expression
npm WARN deprecated lodash@0.9.2: Grunt needs your help! See https://github.com/gruntjs/grunt/issues/1403.
npm WARN deprecated lodash@2.3.0: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm

npm ERR! install Couldn't read dependencies
npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! path /home/vagrant/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno -2
npm ERR! syscall open npm ERR! package.json ENOENT: no such file or directory, open '/home/vagrant/package.json' npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! Please include the following file with any support request:
npm ERR! /home/vagrant/npm-debug.log
module.js:327 throw err; ^
Error: Cannot find module '/home/vagrant/install'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
at node.js:962:3
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.