Closed michaelnny closed 2 years ago
fiori-tools-proxy
is part of the @sap/ux-ui5-tooling
module. The SAP Fiori Tools project is not part of the UI5 Tooling project (our modules all start with @ui5/*
).
You can get in touch with the SAP Fiori tools team via the SAP Community Website: https://community.sap.com/topics/fiori-tools
You can also find related documentation here: https://help.sap.com/viewer/product/SAP_FIORI_tools/Latest/en-US
When using the UI5 tooling package in a corporate network environment which require proxy to access internet, the tool failed to run any UI5 project, as there seems to be a bug inside the function 'isUI5VersionRemoved' in the module 'fiori-tools-proxy'. The root cause seems to be that the axios client call didn't using the proxy configuration from the system, thus the call will fail without any response status code.
Currently the workaround would be to either switching to "@sap/ux-ui5-tooling" release "1.7.0", or manually modify the code in module '@sap\ux-ui5-tooling\dist\middlewares\fiori-tools-proxy.js':
Expected Behavior
When using command 'npm run start' should be able to start and run the UI5 project.
Current Behavior
When using command 'npm run start', we get the error from console:
Error Message: Cannot read properties of undefined (reading 'status')
Steps to Reproduce the Issue
Context
ui5 --version
when using the CLI):2.14.14
v18.12.0
8.19.2
Windows 10
Log Output / Stack Trace