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

[Bug]: Error: AL1043 The runtime version '13.1' is not supported by the AL compiler. #1362

Open
ZackaryW opened this issue Dec 13, 2024 · 4 comments
Labels
bug Something isn't working Cannot repro Unable to reproduce Need more info Please add more info about how to repro the problem

Comments

@ZackaryW
Copy link

ZackaryW commented Dec 13, 2024

AL-Go version

6.1

Describe the issue

AL1043 The runtime version '13.1' is not supported by the AL compiler.

Expected behavior

should not happen

Steps to reproduce

  1. commiting on a feature/* branch

Additional context (logs, screenshots, etc.)

logs_32048897166.zip

@ZackaryW ZackaryW added the bug Something isn't working label Dec 13, 2024
@ZackaryW ZackaryW reopened this Dec 13, 2024
@ZackaryW ZackaryW changed the title [Bug]: [Bug]: Error: AL1043 The runtime version '13.1' is not supported by the AL compiler. Dec 13, 2024
@freddydk
Copy link
Contributor

Sorry, but I have absolutely no chance to create a repro based on this description.

To me, it looks like you have set runtime to 13.1 in app.json - which would produce this problem.
Mitigation would be to select a supported runtime version from this:
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-choosing-runtime

If this is not the issue, then please create a public repo with a sample hello world app, which reproduces this problem.

@freddydk freddydk added the Cannot repro Unable to reproduce label Dec 13, 2024
@freddydk
Copy link
Contributor

@ZackaryW could you please explain what the issue was in order for other people experiencing the same problem to be able to find a resolution here?

@ZackaryW
Copy link
Author

Previously, setting the runtime in app.json resolved deployment issues, allowing us to push our extension without errors. However, after switching to compilerfolders, this approach no longer works.

Currently, we are facing a new issue related to a dependency on the Microsoft Shopify Connector. The error message we receive is:

Error: AL1022 A package with publisher 'Microsoft', name 'Shopify Connector', and a version compatible with '25.1.25873.27689' could not be found in the package cache folders: D:\a\algo-mono\algo-mono\.packages

subsequently followed

Error: Unexpected error when running action. Error Message: App generation failed, StackTrace: at Compile-AppWithBcCompilerFolder, C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\CompilerFolderHandling\Compile-AppWithBcCompilerFolder.ps1: line 511 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1145 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2181 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1692 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1687 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1259 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.30\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1244 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v6.2\RunPipeline\RunPipeline.ps1: line 395 <- at <ScriptBlock>, D:\a\_temp\ac7025ff-250a-43be-ba5a-21b1a0aabab6.ps1: line 3 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v6.2\Invoke-AlGoAction.ps1: line 17 <- at <ScriptBlock>, D:\a\_temp\ac7025ff-250a-43be-ba5a-21b1a0aabab6.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1
Error: Process completed with exit code 1.

i poked around and setting to the following version seems to mitigate the issue but will result in the following
Image

Warning: AL0432 Table 'Sales Price' is marked for removal. Reason: Replaced by the new implementation (V16) of price calculation: table Price List Line. Tag: 16.0.
  Error: AL0185 Codeunit 'Service Format Address' is missing

what is frustrating for us is that no errors were ever raised on our vscode environment and manual packaging and publishing of our .app does not raise any issues (we are using the cloud solution)

@ZackaryW ZackaryW reopened this Dec 24, 2024
@freddydk
Copy link
Contributor

Sorry, but your description of the problem lacks a lot of information.

If you feel this is a problem we should look into, please create a public repository with a hello world app, which has dependencies to shopify etc and showcases the problem you are facing.

@freddydk freddydk added the Need more info Please add more info about how to repro the problem label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cannot repro Unable to reproduce Need more info Please add more info about how to repro the problem
Projects
None yet
Development

No branches or pull requests

2 participants