add tia2st failed

0
I failed to add tia2st, maybe someone can help me with that?  It seams the dependencies are locked to package versions ^8.0.0.    Terminal Log:    PS C:\Projects\biogasplant> apax add --dev @ax/tia2stℹ Selected version ^2.0.26 for @ax/tia2st from latesti STEP 1/6: Init Installation   ✔ Updated apaxVersion and installStrategy in apax.yml   ✔ Project data collected succesfully.   ℹ apax-lock.json is not in sync and will be rewritten during install process.i STEP 2/6: Install dependency catalogs   ✔ Global cache is up-to-date with requested catalogs.i STEP 3/6: Resolve dependencies   ✖ No matching package version for @ax/stc within the specified range: ^8.0.0. Potential conflicts may exist with the pinned version 10.0.85 specified in the catalog. Installation failed - check console output above for more information. ℹ using apax version: 3.5.0Usage Error: Error while installing dependencies. Check console output above for more information.
asked
1 answers
2

Hi, while we were waiting for your apax.yml we had a closer look on the issue.

 

UPDATE: Adjusted the text accordingly after reading the apax.yml

 

You are using the latest SDK / catalog introduced 04-2025 and the TIA2ST tool designed to work with SDKs <= 11-2024 (as of now). Unfortunatly there is no found compatibility within your request ... so the dependency resolving is failing. That is a legit message, meaning you have to resolve your dependencies manually (if applicable) or leave it how it was.

 

In my book you have 3 options now :

 

1.) Please wait until there is a newer version of the TIA2ST tool, which is compatibile again with your desired SDK 2504.0.0 (includes STC 10) usage.

That is the safest route which ensure compatibility / functionality.

This is also true when using the catalog : simply wait until there is a newer version which may include the TIA2AX tool.

 

2.) Downgrade to SDK 2411.2.0 / catalog 2411.2.0

apax add --catalog @ax/simatic-ax@2411.2.0

That means you now work with SDK 2411.2.0 (includes STC 8) instead, in order to use the current TIA2ST V2.0.26 (dependend on STC 8).

This way you may not use the latest addition, but at least ensure compatibility with the needed tool TIA2ST.

 

3.) Use override-dependencies.

Disclaimer: This could cause the tool to not work properly anymore. So it is on your own risk. 

We did not tested these combinations.

When you rly want to stick to the current SDK 2504.0.0 ... simply adjust your apax.yml like this (incl. deleting the catalog): 

 

installStrategy: overridable

devDependencies:
  "@ax/tia2st": ^2.0.26

overrideDependencies:
  "@ax/sdk": ^2504.0.0

This way the TIA2ST tool now is linked to STC 10 instead. An installment will be successful.

Again : Not tested > use at own risk.

 

I hope that helps. If you send in your apax.yml we can have a much closer look, incase the suggestion above differs.

 

Keep going & happy coding ...

🐱‍💻 BEEP, BOOP, BEEP, BEEP, BOOP 🐱‍🏍

answered