Picture of Pedro Mendez
HELP-- COMMAND NOT FOUND
by Pedro Mendez - Tuesday, 29 May 2018, 2:50 PM
 

Hello.

I´ve tried Adapt Authoring tool but find it a bit limited when trying to customise it so I´m giving a try to the framework (not and expert on coding but just to try.. )

So I did every step for setting up the framework environment  but still getting this error when trying to "adapt create course "

 

-bash: adapt: command not found

any idea?

 

Thanks for the help.

 

Picture of James Rea
Re: HELP-- COMMAND NOT FOUND
by James Rea - Tuesday, 29 May 2018, 4:11 PM
 

Hi Pedro,

It sounds like the adapt-cli isn't properly installed. Can you try-

npm install -g adapt-cli

and let us know if that helps?

Thanks

Picture of Pedro Mendez
Re: HELP-- COMMAND NOT FOUND
by Pedro Mendez - Wednesday, 30 May 2018, 7:38 AM
 

Thanks James.

I have done every step again and its not working.

Apparently I have some errors when installing npm install -g adapt-cli

 

Picture of James Rea
Re: HELP-- COMMAND NOT FOUND
by James Rea - Wednesday, 30 May 2018, 8:29 AM
 

There's mention of permission problems in there. Have you tried- 

sudo npm install -g adapt-cli

Picture of Pedro Mendez
Re: HELP-- COMMAND NOT FOUND
by Pedro Mendez - Wednesday, 30 May 2018, 1:11 PM
 

Hi James.

 

Yes I have run it with SUDO but still not working.

 

I thought that the framework was easier to install than the AT hahahha.

 

Any other idea?

Picture of John Niezen
Re: HELP-- COMMAND NOT FOUND
by John Niezen - Wednesday, 30 May 2018, 2:00 PM
 

I also notice a remark on lifecycle scripts, you might want to search the forum here for a resolution on that. I had the same a while ago, and got it fixed. Then adapt-cli worked.

Picture of Matt Leathes
Re: HELP-- COMMAND NOT FOUND
by Matt Leathes - Wednesday, 30 May 2018, 2:03 PM
 

Could you let us know what version of Node you have installed?