Picture of Ailiniyazi Maimaiti
problem with locating plugins
by Ailiniyazi Maimaiti - Wednesday, 18 September 2019, 7:11 AM
 

Hi,

I'm new to Adapat Framework, yesterday I followed framework documentation to install framework and create course. I did step by step and when it came to install plugins by running "adapt install", I got error with the following message:

There was a problem locating the following plugins:
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-assessmentResults
adapt-contrib-trickle
adapt-contrib-tutor
adapt-contrib-boxMenu
adapt-contrib-pageLevelProgress
adapt-contrib-resources
adapt-contrib-slider
adapt-contrib-spoor
adapt-contrib-bookmarking
adapt-contrib-languagePicker

There are my dev enviroment:

CLI: 2.1.8
Framework: 4.3.0
npm 6.10.2

Windows 10

 

Thanks in advance/

Picture of Matt Leathes
Re: problem with locating plugins
by Matt Leathes - Wednesday, 18 September 2019, 8:37 AM
 

Please could you check you are using the correct ('LTS') version of NodeJS?

Picture of Ailiniyazi Maimaiti
Re: problem with locating plugins
by Ailiniyazi Maimaiti - Wednesday, 18 September 2019, 9:24 AM
 

Thank you so much for your reply, Matt.

I think I am using correct ('LTS') version OF NodeJS, but I want to check, could you please tell how I can check it?

 

Picture of Ailiniyazi Maimaiti
Re: problem with locating plugins
by Ailiniyazi Maimaiti - Wednesday, 18 September 2019, 9:58 AM
 

C:\xampp\htdocs\adapt_authoring>node install warn [18 Sep 19 11:44:26 +02:00] You are using Node.js 12.9.0 which is not yet supported by Adapt. If you encounter issues, please downgrade to 8 || 10.

 

Oh, in  this case should I downgrade the NodeJS?

Picture of Matt Leathes
Re: problem with locating plugins
by Matt Leathes - Wednesday, 18 September 2019, 10:18 AM
 

Yes

Picture of Matt Leathes
Re: problem with locating plugins
by Matt Leathes - Wednesday, 18 September 2019, 10:21 AM
 

at the same time would be a good idea to review all the installation instructions

Picture of Ailiniyazi Maimaiti
Re: problem with locating plugins
by Ailiniyazi Maimaiti - Wednesday, 18 September 2019, 1:26 PM
 

Many thanks Matt.

1.

I already downgraded my nodeJS but still got the same error message.

 

2. I got another error after I "node install", this happened when I was tried to install adapt authoring tool followed instruction from documentation.

 

Failed to install adapt-contrib-vanilla, Error: Failed to execute "git ls-remote --tags --heads git://github.com/adaptlearning/adapt-contrib-vanilla.git", exit code of #128

fatal: unable to connect to github.com:
github.com[0: 140.82.118.4]: errno=No such file or directory

 

Looks like failed to install all the plugins, In case of adapt framework, after I opened local server  I only can see a white page with loading button;  In case of adapt authoring tools, when I opened local server, I can see admin panel, but no plugins/theme.

 

Picture of Matt Leathes
Re: problem with locating plugins
by Matt Leathes - Wednesday, 18 September 2019, 2:13 PM
 

Is it possible that you're working from a network location that blocks access to the git protocol?

One way you might test this is to try setting up the framework by running $ adapt devinstall (instead of $ adapt create course) as I think that downloads everything using https instead of git).

If that works, you might try this suggested solution for changing your git config so as to allow you to install the authoring tool.

Picture of Ailiniyazi Maimaiti
Re: problem with locating plugins
by Ailiniyazi Maimaiti - Wednesday, 18 September 2019, 2:35 PM
 

Amazing, now I installed all the plugins for framework and authoring tools. Thank you so much!...

Picture of Matt Leathes
Re: problem with locating plugins
by Matt Leathes - Wednesday, 18 September 2019, 3:20 PM
 

For the benefit of others, was it this that solved it for you?

Picture of Ailiniyazi Maimaiti
Re: problem with locating plugins
by Ailiniyazi Maimaiti - Thursday, 19 September 2019, 7:43 AM
 

Yes, after I used git config --global url.https://github.com/.insteadOf git://github.com/ from the link you gave, it solved the problem for me.