Picture of Richard Hubbert
Problems with Package
by Richard Hubbert - Tuesday, 3 February 2015, 4:35 PM
 

Any help would be great

Oh dear, something went wrong. I'm terribly sorry. Package adapt-contrib-boxmenu not found

Picture of Dan Gray
Re: Problems with Package
by Dan Gray - Tuesday, 3 February 2015, 7:42 PM
 

Hi Richard

What command did you run before you got this error?

I know that there is an issue with a couple of the packages in that they have been registered on the bower registry with mixed case names. In that running the command "adapt install adapt-contrib-boxmenu" will result in this error but "adapt install adapt-contrib-boxMenu" will work.

adapt-contrib-pageLevelProgress and adapt-contrib-textInput are the same.

Picture of Richard Hubbert
Re: Problems with Package
by Richard Hubbert - Wednesday, 4 February 2015, 3:00 PM
 

Hi Dan

I am on Mac OSX on a iMac 27. strange thing though ... I have it working on my macBook Pro!! and is fine

I have created a folder called AdaptLearning I have navigated their and:

1. adapt create course (it creates but falls over)

message is:

Oh dear, something went wrong. I'm terribly sorry. Package adapt-contrib-textinput not found
Oh dear, something went wrong. I'm terribly sorry. Package adapt-contrib-textinput not found

I'm going round in circles 

Help cos this looks good stuff!!

Richard

 

Picture of Tom Taylor
Re: Problems with Package
by Tom Taylor - Wednesday, 4 February 2015, 5:21 PM
 

This is definitely a case-sensitivity issue, but why it should occur as a result of using 'adapt create course', I'm not sure.

Can you have a look in adapt.json (in the root folder for your course), and check that you don't have the lowercase 'adapt-contrib-textinput' listed there anywhere.

Picture of Chuck Lorenz
Re: Problems with Package
by Chuck Lorenz - Wednesday, 4 February 2015, 5:39 PM
 

(Thanks, Tom, for jumping in. Seems we were writing at the same time.)

Picture of Richard Hubbert
Re: Problems with Package
by Richard Hubbert - Wednesday, 4 February 2015, 6:07 PM
 

Tom / Chuck

Yes I have lower case.. 

this is adapt.json..

{
"dependencies": {
"adapt-contrib-vanilla": "*",
"adapt-contrib-text": "*",
"adapt-contrib-narrative": "*",
"adapt-contrib-media": "*",
"adapt-contrib-hotgraphic": "*",
"adapt-contrib-blank": "*",
"adapt-contrib-accordion": "*",
"adapt-contrib-graphic": "*",
"adapt-contrib-matching": "*",
"adapt-contrib-textInput": "*",
"adapt-contrib-mcq": "*",
"adapt-contrib-gmcq": "*",
"adapt-contrib-assessment": "*",
"adapt-contrib-trickle": "*",
"adapt-contrib-tutor": "*",
"adapt-contrib-boxMenu": "*",
"adapt-contrib-spoor": "*",
"adapt-contrib-pageLevelProgress": "*",
"adapt-contrib-resources": "*",
"adapt-contrib-slider": "*",
"adapt-contrib-textinput": "*",
"adapt-contrib-boxmenu": "*",
"adapt-contrib-pagelevelprogress": "*"
}
}

Picture of Chuck Lorenz
Re: Problems with Package
by Chuck Lorenz - Wednesday, 4 February 2015, 5:25 PM
 

Hi Richard,

Simply confirming that you are not alone in this. I have successfully installed many courses. I tested this as a result of your post. I tried to create a course. Failed in the same manner as you. I'm using adapt-cli version 0.0.19. Looks to me like the install command is adding the lowercase bower names 

"adapt-contrib-textinput": "*",
"adapt-contrib-boxmenu": "*",
"adapt-contrib-pagelevelprogress": "*"

to the end of adapt.json. I tried removing these and rerunning install, but they were added back. I also noticed the same behavior recently as I played with the authoring tool.

This is no solution for you, Richard, but I'm hoping it might help someone on core track this down. 

Picture of Chris Jones
Re: Problems with Package
by Chris Jones - Thursday, 5 February 2015, 9:34 AM
 

Hello guys,

I'm going to look at why the package names are lowercased, if you have having a problem with this then you can roll back to version 0.0.18 using the command 

 

npm install -g adapt-cli@0.0.18

 

Hopefully  I can get to the bottom of it and get a fix out by the end of the day.

Chris

Picture of Chris Jones
Re: Problems with Package
by Chris Jones - Thursday, 5 February 2015, 9:41 AM
 

Ok, 0.0.19 removed the library 'slug' (which had a python dependency) for 'speakingurl'

SpeakingUrl lowercases as a side effect, whereas slug does not unless you pass it in the options.

 

TL;DR - I should have a fix out today.

 

 

Picture of Chuck Lorenz
Re: Problems with Package
by Chuck Lorenz - Thursday, 5 February 2015, 3:34 PM
 

Hi Chris,

Saw that you had released v 21 of adapt-cli. I updated with npm update adapt-cli and recreated the course flawlessly.

Thanks for your work!!

Picture of Richard Hubbert
Re: Problems with Package
by Richard Hubbert - Thursday, 5 February 2015, 4:17 PM
 

Hi Chuck 

Thanks for all your help .. will try this when I get home .. 

Richard

Picture of Richard Hubbert
Re: Problems with Package
by Richard Hubbert - Wednesday, 11 February 2015, 9:27 PM
 


Still got problems


Picture of Richard Hubbert
Re: Problems with Package
by Richard Hubbert - Thursday, 5 February 2015, 4:27 PM
 

Question.. When I run grunt server .. it comes up with www.localhost.com:9001 .. "Server not found" .. 

Any ideas? How do I find out where the site can be viewed?

Richard

Picture of Chuck Lorenz
Re: Problems with Package
by Chuck Lorenz - Thursday, 5 February 2015, 7:24 PM
 

In your browser, try instead: http://localhost:9001

You may get a popup that says "Course could not connect to the LMS". This is normal. Click OK or do whatever is necessary to close the box. A second browser window may open with the SCORM log. YOu can close that, too. Follow the instructions at Setting up your development environment if you want to disable SCORM functionality: adapt uninstall contrib-spoor
(You can always reinstall it before you publish if you need it)

 

Picture of Matt Leathes
Re: Problems with Package
by Matt Leathes - Thursday, 5 February 2015, 8:11 PM
 

Hi Chuck

With the latest version of contrib-spoor you can now just disable it via the json - no need to completely uninstall it anymore.

See the 'Settings explained' section of the README: https://github.com/adaptlearning/adapt-contrib-spoor#settings-explained

Picture of Chuck Lorenz
Re: Problems with Package
by Chuck Lorenz - Thursday, 5 February 2015, 10:27 PM
 

Great! Thanks for the heads-up, Matt.

Picture of Matt Leathes
Re: Problems with Package
by Matt Leathes - Thursday, 5 February 2015, 8:15 PM
 

it sounds like your computer does not have the hostname 'localhost' defined... which is odd but has happened to me a few times. I ended up just manually adding it to my 'hosts' file.

Try http://127.0.0.1:9001 instead - if that works, and http://localhost:9001 does not, that's probably the problem.

Sorry, I don't know how to fix it on OS X.

--------------------------------------------------------------
geeky joke time: "there's no place like 127.0.0.1"

Picture of Richard Hubbert
Re: Problems with Package
by Richard Hubbert - Wednesday, 11 February 2015, 9:32 PM
 

Still got a problem cannot get through this stage .. have I missed something?


Picture of Chris Jones
Re: Problems with Package
by Chris Jones - Thursday, 12 February 2015, 9:17 AM
 

Hello Richard,

If you open adapt.json in your text editor, and check that the package name is the correct case, adpt-contrib-boxMenu.

Then save the file.

adapt install should then work correctly for all your packages.