Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when run adapt install get some Errors #3554

Closed
xdsnet opened this issue May 7, 2024 · 4 comments
Closed

when run adapt install get some Errors #3554

xdsnet opened this issue May 7, 2024 · 4 comments
Assignees
Labels

Comments

@xdsnet
Copy link

xdsnet commented May 7, 2024

Subject of the issue/enhancement/features

when run adapt install get some Errors

Your environment

  • Framework 5.38.2 ,adapt CLI 3.1.4
  • No in brower, On shell run
  • debian12

Steps to reproduce

in Framework dir , run

adapt install

Expected behaviour

adapt_framework# adapt install
installing adapt dependencies...
<info> Getting plugin info 100% complete
<info> Finding compatible source versions 100% complete
<info> Marking installable 100% complete
<info> There is no compatible version of the following plugins:
? adapt-contrib-vanilla master [master]
? adapt-contrib-text master [master]
? adapt-contrib-narrative master [master]
? adapt-contrib-media master [master]
? adapt-contrib-hotgraphic master [master]
? adapt-contrib-blank master [master]
? adapt-contrib-accordion master [master]
? adapt-contrib-graphic master [master]
? adapt-contrib-matching master [master]
? adapt-contrib-textInput master [master]
? adapt-contrib-mcq master [master]
? adapt-contrib-gmcq master [master]
? adapt-contrib-assessment master [master]
? adapt-contrib-assessmentResults master [master]
? adapt-contrib-trickle master [master]
? adapt-contrib-tutor master [master]
? adapt-contrib-boxMenu master [master]
? adapt-contrib-pageLevelProgress master [master]
? adapt-contrib-resources master [master]
? adapt-contrib-slider master [master]
? adapt-contrib-spoor master [master]
? adapt-contrib-bookmarking master [master]
? adapt-contrib-languagePicker master [master]
<info> Installing plugins 4% completeTypeError: Cannot read properties of null (reading 'component')
    at file:///usr/local/lib/node_modules/adapt-cli/lib/integration/Plugin.js:331:62
    at Array.find (<anonymous>)
    at Target.getType (file:///usr/local/lib/node_modules/adapt-cli/lib/integration/Plugin.js:331:45)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Target.getTypeFolder (file:///usr/local/lib/node_modules/adapt-cli/lib/integration/Plugin.js:342:18)
    at async Target.install (file:///usr/local/lib/node_modules/adapt-cli/lib/integration/Target.js:161:30)

Actual behaviour

Tell us what happens instead

Screenshots (if you can)

@swashbuck
Copy link
Contributor

@xdsnet I believe this is a duplicate of adaptlearning/adapt-cli#180

@oliverfoster
Copy link
Member

image

I can't replicate @xdsnet it looks as if your system can't access the registry server.

If you can test access to https://adapt-bower-repository.herokuapp.com/packages/search/adapt-contrib-vanilla and http://adapt-bower-repository.herokuapp.com/packages/search/adapt-contrib-vanilla using curl or similar from your machine, that would help isolate the issue.

@oliverfoster oliverfoster self-assigned this May 14, 2024
@xdsnet
Copy link
Author

xdsnet commented May 15, 2024

It seems that I am unable to access the registry server. and both addresses are inaccessible. Is there any other way to obtain registration information? For example, using GitHub to implement registry server.?

@oliverfoster
Copy link
Member

You can setup your own registry server. https://github.com/adaptlearning/adapt-registry-server
Or you can proxy to our server.
Or you can figure out why you can't access those urls and allow them.

[Issue closed as external infrastructure problem]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants