Picture of Dick Moore
Trouble with Adapt create course
by Dick Moore - Thursday, 7 August 2014, 3:32 PM
 

 

I have a ubuntu box that has a working version of the adapt code that I stripped away the scorm module that I have been using for about a month to compile courses for the last few months and all has been well with the world.

I now want to have a second set of code that I can sym link the src and do a grunt build

Creating a new directory shell_scorm works fine

Doing a adapt create course and accepting all the defaults works fine until near the end when it blows up with :

installing adapt dependencies
adapt-contrib-blank found. Installing component ...
adapt-contrib-accordion found. Installing component ...
adapt-contrib-graphic found. Installing component ...
adapt-contrib-gmcq found. Installing component ...
adapt-contrib-assessment found. Installing extension ...
adapt-contrib-mcq found. Installing component ...
adapt-contrib-textInput found. Installing component ...
adapt-contrib-vanilla found. Installing theme ...
adapt-contrib-matching found. Installing component ...
adapt-contrib-hotgraphic found. Installing component ...
adapt-contrib-boxMenu found. Installing menu ...
adapt-contrib-narrative found. Installing component ...
adapt-contrib-media found. Installing component ...
adapt-contrib-text found. Installing component ...
adapt-contrib-slider found. Installing component ...
adapt-contrib-resources found. Installing extension ...
adapt-contrib-trickle found. Installing extension ...
adapt-contrib-pageLevelProgress found. Installing extension ...
adapt-contrib-tutor found. Installing extension ...
Oh dear, something went wrong. I'm terribly sorry. Arguments to path.join must be strings
Oh dear, something went wrong. I'm terribly sorry. Arguments to path.join must be strings

Any thoughts peps?  the original down load continues to work !

Thanks in advance

D

 

 

 

 

Picture of Dick Moore
Re: Trouble with Adapt create course
by Dick Moore - Thursday, 7 August 2014, 3:43 PM
 

Ok so sorted this out.

I took a snapshot of what I had and re-ran

     npm install adapt-cli -g

     npm install grunt-cli -g

then did 

     adapt create course 

and all was well. 

Might we get grunt to do a bit of dependency checking ?

happy adaptation to you all.

 

D

 

 

 

Picture of Chris Jones
Re: Trouble with Adapt create course
by Chris Jones - Thursday, 7 August 2014, 4:22 PM
 

Hello Dick,

That issue was recently fixed in adapt-cli version 0.0.15, #22

 

Reinstalling adapt-cli would have gone and downloaded the latest version (including the fix).

So good detective work ;)

Chris