Picture of venu ganji
How to install adaptive framework
by venu ganji - Wednesday, 30 July 2014, 1:14 PM
 

Can anybody explain how to install adaptive framework in windows. Step by step procedure.

Picture of Chris Jones
Re: How to install adaptive framework
by Chris Jones - Wednesday, 30 July 2014, 2:40 PM
 

Hello Venu,

Just follow the installation guide. it covers Windows, Mac & Linux.

Follow the setup instructions

 

 

Picture of venu ganji
Re: How to install adaptive framework
by venu ganji - Thursday, 31 July 2014, 5:02 AM
 

Thanks Jones.

I checked this procedure and i installed Node.js and Git.

Where should i enter below commands. Please Suggest.

 

$ npm install adapt-cli -g
$ npm install grunt-cli -g
$ adapt create course
Picture of Chris Jones
Re: How to install adaptive framework
by Chris Jones - Thursday, 31 July 2014, 8:24 AM
 

The developer toolkit for Adapt is a Command Line Interface, it allows you to work with a number of instructions to create, install and build responsive e-learning courses.

On Windows you will be using Windows Powershell, Git Bash or the windows command prompt to enter these commands.

 

Picture of Luca Cotta Ramusino
Re: How to install adaptive framework
by Luca Cotta Ramusino - Tuesday, 5 August 2014, 1:43 PM
 

Hi all, just downloaded npm and tried to install adapt-cli. I am using Ubuntu 12.04 LTS. This is what I get

~$ npm install adapt-cli -g
npm http GET https://registry.npmjs.org/adapt-cli

npm ERR! Error: failed to fetch from registry: adapt-cli
npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR!     at Request.emit (events.js:88:20)
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)
npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)
npm ERR! You may report this log at:
npm ERR!     <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR!     reportbug --attach /home/luca/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "node" "/usr/bin/npm" "install" "adapt-cli" "-g"
npm ERR! cwd /home/luca
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: adapt-cli
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/luca/npm-debug.log
npm not ok

Any clue? Also see attached npm-debug.log

Thank you,

 

Luca

Picture of Luca Cotta Ramusino
Re: Solved, I think
by Luca Cotta Ramusino - Wednesday, 6 August 2014, 5:14 PM
 

Hi all, something about the default nodejs/npm installation was crossing wires in Ubuntu. In the end I got the package from NodeSource. So, instead of the usual apt-get etc. I used

curl -sL https://deb.nodesource.com/setup | sudo bash -

sudo apt-get install nodejs

And that seemed to work. Had to sudo npm install.
Picture of Wes Atkinson
Re: Solved, I think
by Wes Atkinson - Wednesday, 6 August 2014, 9:50 PM
 

Hi Luca, 

Yes.. unfortunately Ubuntu 12.04's npm and nodejs installs haven't been updated in a while. I faced the same issue once and had to do the same commands you mention. However, following a move to Ubuntu 14.04 (which is nicely kept up to date) everything installs right out of the box as per the adapt learning install instructions without error.

Depending on your security (my ubuntu install is just for my personal dev work), you may wish to run chmod  (i like a nice destructive approach of 777!) both across npm and grunt to avoid typing sudo. Depending on where in your directory structure you build your course, Grunt writes files and can be blocked without a user-friendly error (hinting you need to use sudo) this has caught me 1-2 times. 

All the best, 

Wes