Picture of Jessica Comber-Chaney
Ubuntu 16 Adapt Authoring tool install error
by Jessica Comber-Chaney - Thursday, 9 February 2017, 8:31 PM
 

Hi all, I am attempting to install the Adapt Authoring tool (and thus the framework) onto an Ubuntu 16 installation. I am following the guide here: https://github.com/adaptlearning/adapt_authoring/wiki/Developer's-Install and have gotten to step 3. Run the install. Sudo npm install works ok, but when I attempt sudo node install I get the following error:

Checking configuration, please wait a moment ...   
readline.js:982  
           throw err;  
           ^  
 
Error: Cannot find module 'internal/fs'  
   at Function.Module._resolveFilename (module.js:470:15)  
   at Function.Module._load (module.js:418:25)  
   at Module.require (module.js:498:17)  
   at require (internal/module.js:20:19)  
   at evalmachine.<anonymous>:18:20  
   at Object.<anonymous> (/var/www/html/adaptauthoring/node_modules/bower/node_modules/graceful-fs/fs.js:11:1)  
   at Module._compile (module.js:571:32)  
   at Object.Module._extensions..js (module.js:580:10)  
   at Module.load (module.js:488:32)  
   at tryModuleLoad (module.js:447:12)  
   at Function.Module._load (module.js:439:3)  
   at Module.require (module.js:498:17)  
   at require (internal/module.js:20:19)  
   at Object.<anonymous> (/var/www/html/adaptauthoring/node_modules/bower/node_modules/graceful-fs/graceful-fs.js:3:27)  
   at Module._compile (module.js:571:32)  
   at Object.Module._extensions..js (module.js:580:10) 

 

So I have tried the following:

  • Tried to re-install the node/nvm/npm tool
  • Tried downgrading the node version and npm versions following this post: https://github.com/nodejs/node/issues/9377
  • Tried to install the specific missing module following the instructions found here: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
    • The above included linking the module.

I am all out of ideas and this one has me scratching my head. Any ideas?

Current:

  • node -v = v6.9.4, though have tried v7.5.0
  • npm -v = 3.10.10

 

Mark 

Picture of Tom Taylor
Re: Ubuntu 16 Adapt Authoring tool install error
by Tom Taylor - Friday, 10 February 2017, 11:26 AM
 

Hi Mark,

Can you try setting your node version to v4? We haven't yet added support to the new LTS (v6), so it could be a compatibility issue around that.

Picture of Neil Hone
Re: Ubuntu 16 Adapt Authoring tool install error
by Neil Hone - Friday, 10 February 2017, 3:41 PM
 

I had the same difficulties. I did get it to install eventually, but it took a few attempts at setting the node version using nvm. If I recall, it only worked when I set the node version in the same terminal window that I was using to run the install.

Picture of Jessica Comber-Chaney
Re: Ubuntu 16 Adapt Authoring tool install error
by Jessica Comber-Chaney - Saturday, 11 February 2017, 2:30 PM
 

Hi Tom, 

Thanks for the idea. Unfortunately, using 'nvm install 4.0.0' and then running 'sudo npm install' and then 'sudo node install' still produced the same error. This was all done in the same terminal window. Now I get:

  • node -v =  v4.0.0
  • npm -v = 2.14.2

Any other ideas? Do you think its worth me checking any specific permissions? Any specific logs? 

Mark

Picture of Matthew Taylor
Re: Ubuntu 16 Adapt Authoring tool install error
by Matthew Taylor - Wednesday, 29 March 2017, 12:52 PM
 

Hi there, 

Did you manage to resolve this. I am experiencing the same error?

Thanks 

MT

Picture of Jessica Comber-Chaney
Re: Ubuntu 16 Adapt Authoring tool install error
by Jessica Comber-Chaney - Thursday, 30 March 2017, 10:12 AM
 

Hi Matthew, 

Unfortunately I haven't managed to get it working yet, but to be honest I haven't tried in about a month. I have put the project on hold until I can devote a day to it and really concentrate on it. My next point of call will be to inspect the logs of the various installation steps and see what I can see. Beyond that I will uninstall everything and then start from scratch.

Do you get the same error? 

Mark