Any help would be great
Oh dear, something went wrong. I'm terribly sorry. Package adapt-contrib-boxmenu not found
Any help would be great
Oh dear, something went wrong. I'm terribly sorry. Package adapt-contrib-boxmenu not found
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.
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
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.
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": "*"
}
}
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.
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
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.
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!!
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
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)
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
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"