Build command fails while trying to install @sapui5/distribution-metadata with error No matching version found for @sapui5/distribution-metadata@1.96.5
1.96.4 is working
1.98.0 is working aswell
Steps to Reproduce the Issue
> ui5 build -a --clean-dest
info normalizer:translators:ui5Framework Using SAPUI5 version: 1.96.5
info normalizer:ui5Framework:npm:Installer Installing missing package @sapui5/distribution-metadata...
[..................] \ : info normalizer:ui5Framework:npm:Installer Installing missing package @sapui5/distribution-metadata...
⚠️ Process Failed With Error
Error Message:
Resolution of framework libraries failed with errors:
Failed to resolve library sap.f: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library sap.m: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library sap.ui.core: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library themelib_sap_fiori_3: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
UI5 Module Version (output of ui5 --version when using the CLI): 2.14.4
Node.js Version: v16.13.2
npm Version: 8.3.2
OS/Platform: Windows x64
Browser (if relevant): not relevant
Other information regarding your environment (optional): Using VSCode
Log Output / Stack Trace
> Executing task: npm run build <
> openui5-sample-app@0.2.0 build
> ui5 build -a --clean-dest --verbose
verb cli:middlewares:base using @ui5/cli version 2.14.4 (from C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\bin\ui5.js)
verb cli:middlewares:base using node version v16.13.2
verb normalizer:normalizer Building dependency tree...
verb normalizer:translators:npm Analyzing openui5-sample-app (C:\Users\**\openui5-sample-app) (dependency of nothing - root project)
verb normalizer:translators:npm [PERF] Consider defining UI5-dependencies in the package.json files of the relevant modules from the following list to improve npm translator
execution time: openui5-sample-app
verb normalizer:translators:npm Treetop:
verb normalizer:translators:npm {
verb normalizer:translators:npm id: 'openui5-sample-app',
verb normalizer:translators:npm version: '0.2.0',
verb normalizer:translators:npm path: 'C:\\Users\\**\\openui5-sample-app',
verb normalizer:translators:npm dependencies: []
verb normalizer:translators:npm }
verb normalizer:projectPreprocessor Processing project openui5-sample-app on level 0...
verb types:application:ApplicationFormatter Formatting application project openui5-sample-app...
verb types:application:ApplicationFormatter Namespace of project openui5-sample-app is sap/ui/demo/todo (from manifest.json)
verb normalizer:projectPreprocessor Processed 1 projects in 374 ms
verb normalizer:normalizer Root project openui5-sample-app defines framework configuration. Installing UI5 dependencies...
info normalizer:translators:ui5Framework Using SAPUI5 version: 1.96.5
verb normalizer:ui5Framework:npm:Installer Installing to: C:\Users\**\.ui5\framework\packages
verb ui5Framework:AbstractResolver Processing sap.f
verb ui5Framework:AbstractResolver Processing sap.m
verb ui5Framework:AbstractResolver Processing sap.ui.core
verb ui5Framework:AbstractResolver Processing themelib_sap_fiori_3
verb normalizer:ui5Framework:Sapui5Resolver Installing @sapui5/distribution-metadata in version 1.96.5...
verb normalizer:ui5Framework:npm:Installer Locking C:\Users\**\.ui5\framework\locks\package-@sapui5-distribution-metadata@1.96.5.lock
info normalizer:ui5Framework:npm:Installer Installing missing package @sapui5/distribution-metadata...
verb normalizer:ui5Framework:npm:Installer Removing existing staging directory at C:\Users\**\.ui5\framework\staging\@sapui5-distribution-metadata-1.96.5...
verb normalizer:ui5Framework:npm:Installer Installing @sapui5/distribution-metadata in version 1.96.5 to C:\Users\**\.ui5\framework\staging\@sapui5-distribution-metadata-1.96.5...
verb normalizer:ui5Framework:npm:Registry Using npm configuration (extract):
verb normalizer:ui5Framework:npm:Registry globalconfig: C:\Users\**\AppData\Roaming\npm\etc\npmrc
verb normalizer:ui5Framework:npm:Registry userconfig: C:\Users\**\.npmrc
verb normalizer:ui5Framework:npm:Registry cache: C:\Users\**\.ui5\framework\cacache
verb normalizer:ui5Framework:npm:Registry cwd: C:\Users\**\openui5-sample-app
http fetch GET 200 https://registry.npmjs.org/@sapui5%2fdistribution-metadata 1678ms
verb normalizer:ui5Framework:npm:Installer Unlocking C:\Users\**\.ui5\framework\locks\package-@sapui5-distribution-metadata@1.96.5.lock
verb ui5Framework:AbstractResolver Failed to process library sap.f
verb ui5Framework:AbstractResolver Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver Call stack: Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver at Registry.extractPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Registry.js:26:10)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:93:6
verb ui5Framework:AbstractResolver at async Installer._synchronize (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:139:4)
verb ui5Framework:AbstractResolver at async Installer.installPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:68:4)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\Sapui5Resolver.js:39:23
verb ui5Framework:AbstractResolver Failed to process library sap.m
verb ui5Framework:AbstractResolver Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver Call stack: Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver at Registry.extractPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Registry.js:26:10)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:93:6
verb ui5Framework:AbstractResolver at async Installer._synchronize (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:139:4)
verb ui5Framework:AbstractResolver at async Installer.installPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:68:4)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\Sapui5Resolver.js:39:23
verb ui5Framework:AbstractResolver Failed to process library sap.ui.core
verb ui5Framework:AbstractResolver Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver Call stack: Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver at Registry.extractPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Registry.js:26:10)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:93:6
verb ui5Framework:AbstractResolver at async Installer._synchronize (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:139:4)
verb ui5Framework:AbstractResolver at async Installer.installPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:68:4)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\Sapui5Resolver.js:39:23
verb ui5Framework:AbstractResolver Failed to process library themelib_sap_fiori_3
verb ui5Framework:AbstractResolver Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver Call stack: Error: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
verb ui5Framework:AbstractResolver at Registry.extractPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Registry.js:26:10)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:93:6
verb ui5Framework:AbstractResolver at async Installer._synchronize (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:139:4)
verb ui5Framework:AbstractResolver at async Installer.installPackage (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\npm\Installer.js:68:4)
verb ui5Framework:AbstractResolver at async C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\Sapui5Resolver.js:39:23
⚠️ Process Failed With Error
Error Message:
Resolution of framework libraries failed with errors:
Failed to resolve library sap.f: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library sap.m: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library sap.ui.core: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library themelib_sap_fiori_3: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Stack Trace:
Error: Resolution of framework libraries failed with errors:
Failed to resolve library sap.f: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library sap.m: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library sap.ui.core: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
Failed to resolve library themelib_sap_fiori_3: Failed to extract package @sapui5/distribution-metadata@1.96.5: No matching version found for @sapui5/distribution-metadata@1.96.5.
at Sapui5Resolver.install (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\ui5Framework\AbstractResolver.js:164:10)
at async Object.generateDependencyTree (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\translators\ui5Framework.js:188:29)
at async Object.generateProjectTree (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\node_modules\@ui5\project\lib\normalizer.js:40:24)
at async Object.handleBuild [as handler] (C:\Users\**\openui5-sample-app\node_modules\@ui5\cli\lib\cli\commands\build.js:136:15)
If you think this is an issue of the UI5 Tooling, you might report it using the following URL: https://github.com/SAP/ui5-tooling/issues/new/choose
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command npm run build" terminated with exit code: 1.
Expected Behavior
Build is working on newest LTS (1.96.5) version
Current Behavior
Build command fails while trying to install @sapui5/distribution-metadata with error
No matching version found for @sapui5/distribution-metadata@1.96.5
1.96.4 is working 1.98.0 is working aswellSteps to Reproduce the Issue
Context
ui5 --version
when using the CLI):2.14.4
v16.13.2
8.3.2
Windows x64
not relevant
Using VSCode
Log Output / Stack Trace