Picture of Nick Gault
adapt: command not found
by Nick Gault - Thursday, 29 January 2015, 3:38 PM
 

I'm following the setup guide and  getting the following error when running 'adapt create course' 

adapt: command not found

I've tried the manual install and get the same error when trying:

'adapt install' (with our without sudo).

No mention of it in the forum or in Google, any clues?

Picture of Tom Taylor
Re: adapt: command not found
by Tom Taylor - Thursday, 29 January 2015, 4:18 PM
 

Hi Nick,

It sounds like the adapt-cli hasn't been installed properly, can you try:

npm install -g adapt-cli (may need sudo depending on how you've set up npm)

Upon installing this (and assuming everything's gone to plan), if you then just try typing/running the command adapt, you should get the message "Unknown command "undefined", please check the documentation.".

Picture of Nick Gault
Re: adapt: command not found
by Nick Gault - Thursday, 29 January 2015, 5:12 PM
 

Hi Tom,

Good advice, I now get the "Unknown command "undefined", please check the documentation." message.

For the record I had to use: 'sudo npm install --unsafe-perm -g adapt-cli' to get past the 'gyp warn eacces user "root" does not have permission to access the dev dir'

Thanks.

Picture of Adam Laird
Re: adapt: command not found
by Adam Laird - Friday, 30 January 2015, 2:50 PM
 

Are you doing this in the Webserver/Documents location