Picture of Kok Han Yeow
Error for "npm install --production"
by Kok Han Yeow - Monday, 15 August 2016, 6:53 AM
 

Hello,

I was trying to install the framework and authoring tool by following the instructions at https://github.com/adaptlearning/adapt_authoring/wiki/Installing-Adapt-Origin.

However, I got some error messages and I don't know what to do about them. Somebody please help. The errors are as follows:

Picture of Tom Taylor
Re: Error for "npm install --production"
by Tom Taylor - Monday, 15 August 2016, 3:10 PM
 

Hi there,

There are a few dependencies required for one of the node modules called node-gyp which aren't listed in the installation instructions. See here for full details: https://github.com/nodejs/node-gyp#installation

It looks like at the very least, you're missing python. Try installing v2.7 and see if that gets you through :)

I've created an issue on our GitHub, as we need details of these prerequisites in our installation instructions.

Picture of Kok Han Yeow
Re: Error for "npm install --production"
by Kok Han Yeow - Thursday, 18 August 2016, 7:59 AM
 

Hi Tom,

Thanks a lot. After following your tips, I managed to get the authoring tool running.