Picture of elijah jensen
Cannot find module
by elijah jensen - Wednesday, 29 June 2016, 3:51 PM
 

Hey guys,

I am having trouble installing the authoring tool, I run the command: sudo node install

and I get the following error:

Saschas-MBP-2:adapt_framework-master Accipio$ sudo node install
Password:
module.js:338
    throw err;
          ^
Error: Cannot find module '/Users/Accipio/Downloads/adapt_framework-master/install'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

 

I have exhausted google for solutions, could someone please help?

 

Thank you.

 


Picture of Matt Leathes
Re: Cannot find module
by Matt Leathes - Wednesday, 29 June 2016, 5:37 PM
 

Hi Elijah

Going by the path '/Users/Accipio/Downloads/adapt_framework-master/' it looks like you might have downloaded from the adapt_framework git repository instead of the adapt_authoring one... or you've downloaded both but are trying to run the $ node install command on the wrong one.