Picture of Mike  Nedelko
Grunt build error
by Mike Nedelko - Monday, 10 November 2014, 12:59 PM
 

Hi all 

 

I attempted to follow the 'Setting up your development environment" section of the documentation but got stuck at the grunt build command. Would someone be happy to point me in the right direction? I seem to be getting the following error. Any help would be highly appreciated.

module.js:340

    throw err;

          ^

Error: Cannot find module 'inherits'

    at Function.Module._resolveFilename (module.js:338:15)

    at Function.Module._load (module.js:280:25)

    at Module.require (module.js:364:17)

    at require (module.js:380:17)

    at Object.<anonymous> (/Users/mnedelko/my-adapt-course/node_modules/grunt/node_modules/findup-sync/node_modules/glob/glob.js:42:14)

    at Module._compile (module.js:456:26)

    at Object.Module._extensions..js (module.js:474:10)

    at Module.load (module.js:356:32)

    at Function.Module._load (module.js:312:12)

    at Module.require (module.js:364:17)

Picture of Chris Jones
Re: Grunt build error
by Chris Jones - Monday, 10 November 2014, 2:47 PM
 

Hello Mike,

Can you try running the commands:-

    npm install

    adapt install

    grunt build

    grunt server

These commands will force an install of the components and build the course.

The install manual process is available on the wiki https://github.com/adaptlearning/adapt_framework/wiki/Manual-installation-of-the-Adapt-framework#installation

Kind regards,

Chris

 

Picture of Mike  Nedelko
Re: Grunt build error
by Mike Nedelko - Tuesday, 11 November 2014, 9:19 AM
 
Thank you very Chris. This was really helpful. It worked now!