simatic-ax / standardizer-tutorial-lib

Tutorial how to develop a library with AX
Other
7 stars 3 forks source link

Installing dependencies fails #20

Closed christof-ochs closed 1 year ago

christof-ochs commented 1 year ago

Describe the bug When working through the tutorial, an error occurs upon installing the dependencies (@simatic-ax/io) from GitHub.

To Reproduce Steps to reproduce the behavior:

  1. Login to registry via apax.yml (right click). This still works by using my personal access token (see screenshot)
  2. apax.yml -> right click -> Install dependencies

Expected behavior Dependencies have been installed

Screenshots image

sjuergen commented 1 year ago

Dear Christof,

Could you please check the settings of your personal access token? It's important to check write & read access for packages. Otherwise contact me directly.

https://github.com/simatic-ax/.github/blob/main/docs/personalaccesstoken.md

sjuergen commented 1 year ago

Hi Christof, since the packages are public available, it should work on your side. Isn't it? If yes, I think we can close the issue.

christof-ochs commented 1 year ago

It works now if I use the latest version of the "simatic-ax/io" package (1.0.1). When using the package version described in the tutorial/readme (0.1.1) i still get an access error - this time to the "@simatic-ax/mocks" package. image

sjuergen commented 1 year ago

@christof-ochs thanks for your input. The version, shown in the documentation may differ from the apax.yml. So, we'll to keep the apax.yml up to date. I've changed the documentation. https://github.com/simatic-ax/standardizer-tutorial-lib/pull/21/files