ui5-migration
ui5-migration copied to clipboard
Target version 1.60.0 not found for api.json
Problem
the parameter target-version is used to download the api information for resolving globals, e.g. sap.m.Label
therefore the API version must match the one available on the https://sapui5.hana.ondemand.com/
ui5-migration analyze --target-version="1.60.0"
ui5-migration analyze --target-version="1.60.22"
produces different output
because
https://sapui5.hana.ondemand.com/1.60.22/ --> works
https://sapui5.hana.ondemand.com/1.60.0/ --> 404 Not Found
Proposal
throw an error and display it in the console.
1.60.0
was not officially released
E.g. could use:
https://sapui5.hana.ondemand.com/versionoverview.json