RAP Application Previewing Error in VSCode: Cannot find module 'keytar', Cannot find module 'vscode'

1 month ago 18

Hi,

We are facing the beneath mistake portion previewing the RAP Application utilizing VS Code.
Please help!

PS C:\Users\SSharma\Fiori Projects\fi_rap> npm tally start > [email protected] start > fiori tally --open "test/flpSandbox.html?sap-client=800&sap-ui-xx-viewCache=false#firap-tile" info fiori-tools-proxy Using UI5 mentation 1.102.2 based connected manifest.json info fiori-tools-proxy Starting fiori-tools-proxy utilizing pursuing configuration: info fiori-tools-proxy proxy: 'undefined' info fiori-tools-proxy ignoreCertError: 'false' info fiori-tools-proxy backend: [{"path":"/sap","url":"http://url.com:8000","client":"800"}] info fiori-tools-proxy ui5: [{"path":"/resources","url":"https://ui5.sap.com","version":"1.102.2"},{"path":"/test-resources","url":"https://ui5.sap.com","version":"1.102.2"}] info fiori-tools-proxy debug: 'false' warn backend-proxy-middleware Cannot find module 'keytar' warn backend-proxy-middleware Require stack: warn backend-proxy-middleware - C:\Users\SSharma\Fiori Projects\fi_rap\node_modules\@sap\ux-ui5-tooling\dist\middlewares\fiori-tools-proxy.js warn backend-proxy-middleware Could not "require('keytar')". Trying VSCode's copy warn backend-proxy-middleware Cannot find module 'vscode' warn backend-proxy-middleware Require stack: warn backend-proxy-middleware - C:\Users\SSharma\Fiori Projects\fi_rap\node_modules\@sap\ux-ui5-tooling\dist\middlewares\fiori-tools-proxy.js warn backend-proxy-middleware Could not get clasp of vscode warn backend-proxy-middleware Dummy store. Trying to retrieve for service: fiori/v2/system, key: http://url:8000/800 warn backend-proxy-middleware Cannot find module 'keytar' warn backend-proxy-middleware Require stack: warn backend-proxy-middleware - C:\Users\SSharma\Fiori Projects\fi_rap\node_modules\@sap\ux-ui5-tooling\dist\middlewares\fiori-tools-proxy.js warn backend-proxy-middleware Could not "require('keytar')". Trying VSCode's copy warn backend-proxy-middleware Cannot find module 'vscode' warn backend-proxy-middleware Require stack: warn backend-proxy-middleware - C:\Users\SSharma\Fiori Projects\fi_rap\node_modules\@sap\ux-ui5-tooling\dist\middlewares\fiori-tools-proxy.js warn backend-proxy-middleware Could not get clasp of vscode warn backend-proxy-middleware Dummy store. Trying to retrieve for service: fiori/v2/system, key: http://url:8000/800 info backend-proxy-middleware Backend proxy created for http://url:8000 /sap info fiori-tools-appreload Livereload middleware started for larboard 35729 and way C:\Users\SSharma\Fiori Projects\fi_rap\webapp info fiori-tools-preview Initialized for app firap :warning: Process Failed With Error Error Message: For details, execute the aforesaid bid again with an further '--verbose' parameter
Read Entire Article