Picture of Richard Brown
Failed to install Adapt Authoring on Mac
by Richard Brown - Thursday, 7 April 2016, 8:13 AM
 

Hello. Grateful for help; I failed to install the Adapt Authoring Tool on my MacBook running OS X 10.11.12 El Capitan. I believe I followed the instructions on this site. The process took a very long time, and involved an enormous screed of messages in the terminal, most of which seemed positive (because in green) and some other stuff, in red. In the copy below, bold=green, normal = red. The whole output is attached a s text file. 

I had this line  five times, distributed throughout the output.

==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory

which presumably refers to this, very early on:

 

==> default: stdin: is not a tty

and this section, which seems possibly important. (Again, bold = green in terminal, normal = red)

==> default: Done. Phantomjs binary available at /vagrant/node_modules/grunt-casperjs/node_modules/phantomjs/lib/phantom/bin/phantomjs

==> default: npm

==> default:  

==> default: WARN

==> default:  

==> default: peerDependencies

==> default:  The peer dependency kerberos@~0.0 included from mongodb-core will no

==> default: npm

==> default:  

==> default: WARN

==> default:  

==> default: peerDependencies

==> default:  longer be automatically installed to fulfill the peerDependency 

==> default: npm

==> default:  

==> default: WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

==> default: 

==> default: > kerberos@0.0.19 install /vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos

 

==> default: > (node-gyp rebuild) || (exit 0)

==> default: gyp

==> default:  

==> default: WARN

==> default:  

==> default: EACCES

==> default:  user "root" does not have permission to access the dev dir "/root/.node-gyp/4.4.2"

==> default: gyp

==> default:  

==> default: WARN

==> default:  

==> default: EACCES

==> default:  attempting to reinstall using temporary dev dir "/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/.node-gyp"

==> default: make: Entering directory `/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'

==> default:   CXX(target) Release/obj.target/kerberos/lib/kerberos.o

==> default: In file included from ../lib/kerberos.cc:1:0:

==> default: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory

==> default:  #include <gssapi/gssapi.h>

==> default:                            ^

==> default: compilation terminated.

==> default: make: 

==> default: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1

==> default: make: Leaving directory `/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'

==> default: gyp

==> default:  

==> default: ERR! build error 

==> default: gyp

==> default:  ERR! stack Error: `make` failed with exit code: 2

==> default: gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)

==> default: gyp ERR! stack     at emitTwo (events.js:87:13)

==> default: gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

==> default: gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

==> default: gyp ERR! System Linux 3.13.0-85-generic

==> default: gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

==> default: gyp ERR! cwd /vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos

==> default: gyp ERR! node -v v4.4.2

==> default: gyp ERR! node-gyp -v v3.3.1

 

==> default: gyp ERR! not ok 

 

==> default: gyp

==> default:  

==> default: WARN

==> default:  

==> default: EACCES

==> default:  user "root" does not have permission to access the dev dir "/root/.node-gyp/4.4.2"

==> default: gyp

==> default:  

==> default: WARN

==> default:  

==> default: EACCES

==> default:  attempting to reinstall using temporary dev dir "/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/.node-gyp"

==> default: make: Entering directory `/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'

==> default:   CXX(target) Release/obj.target/kerberos/lib/kerberos.o

==> default: In file included from ../lib/kerberos.cc:1:0:

==> default: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory

==> default:  #include <gssapi/gssapi.h>

==> default:                            ^

==> default: compilation terminated.

==> default: make: 

==> default: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1

==> default: make: Leaving directory `/vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build'

==> default: gyp

==> default:  

==> default: ERR! build error 

==> default: gyp

==> default:  ERR! stack Error: `make` failed with exit code: 2

==> default: gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)

==> default: gyp ERR! stack     at emitTwo (events.js:87:13)

==> default: gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

==> default: gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

==> default: gyp ERR! System Linux 3.13.0-85-generic

==> default: gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

==> default: gyp ERR! cwd /vagrant/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos

==> default: gyp ERR! node -v v4.4.2

==> default: gyp ERR! node-gyp -v v3.3.1

==> default: gyp ERR! not ok