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

adapt install / devinstall errors when using plugin's short name #196

Closed
swashbuck opened this issue Aug 9, 2023 · 1 comment · Fixed by #197
Closed

adapt install / devinstall errors when using plugin's short name #196

swashbuck opened this issue Aug 9, 2023 · 1 comment · Fixed by #197
Assignees

Comments

@swashbuck
Copy link
Contributor

swashbuck commented Aug 9, 2023

Subject of the issue

There are a few issues when installing some (or all?) plugins using either adapt install or adapt devinstall with the plugin's short name.

Using devinstall

As an example, here are the issues when installing the CGKineo plugin Hot Grid using adapt devinstall hotgrid rather than adapt devinstall adapt-hotgrid:

  1. Adapt CLI reports an unknown error:
adapt devinstall hotgrid

cloning adapt dependencies...
<info> Getting plugin info 100% complete
<info> Finding compatible source versions 100% complete
<info> Marking installable 100% complete
adapt-hotgrid is on branch "4.4.3".lete
<info> Installing plugins 100% complete
The following plugins could not be installed:
adapt-hotgrid (unknown error)
None of the requested plugins could be installed
  1. The plugin is installed to the components directory but with the directory name of hotgrid instead of adapt-hotgrid.
Screenshot 2023-08-09 at 8 49 11 AM

Using install

This example uses adapt install hotgrid instead of adapt install adapt-hotgrid.

  1. Plugin is installed to the correct directory name. However, adapt CLI is looking for bower.json in the 'hotgrid' folder rather than 'adapt-hotgrid'
adapt install hotgrid
installing adapt dependencies...
<info> Getting plugin info 100% complete
<info> Finding compatible source versions 100% complete
<info> Marking installable 100% complete
<info> Installing plugins 100% complete[Error: ENOENT: no such file or directory, open '/src/components/hotgrid/bower.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/src/components/hotgrid/bower.json'
}

Your environment

  • Framework 5.31.21
  • Hot Grid 4.4.3
  • Adapt CLI 3.0.11
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

🎉 This issue has been resolved in version 3.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants