cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Fiori Application in SCP. No such file error - /cfServicesUtil.js.map

KarthikCheers
Product and Topic Expert
Product and Topic Expert
1,129

Tutorials: https://developers.sap.com/tutorials/appstudio-fioriapps-create.html
--------------------------
Hello

When i followed the above tutorial, i get the below error while running the application.

Only difference is that in STEP 1. i didnt select the template as i mentioned in tutorial as i read its deprecated.

So selected the template SAP FIORI Application. (elements or freestyle project) .

Rest of the things done but get below error during running application. in the fodler could not find the file mentioned below '/home/user/projects/project1/node_modules/@sap/ux-ui5-tooling/dist/cli/cfServicesUtil.js.map'.

And the webpage opens but no list of business partners displayed.

Any help here? thank you in advance.

> project1@0.0.1 start /home/user/projects/project1 > fiori run --open 'index.html' "--ui5Uri https://ui5.sap.com --ui5 1.65.0" "--backendConfig" "[{\"path\":\"/sap\",\"destination\":\"ES5\"}] " Could not read source map for file:///home/user/projects/project1/node_modules/@sap/ux-ui5-tooling/dist/cli/index.js: ENOENT: no such file or directory, open '/home/user/projects/project1/node_modules/@sap/ux-ui5-tooling/dist/cli/cfServicesUtil.js.map' Fiori tools CLI. Could not read source map for file:///home/user/projects/project1/node_modules/@sap/ux-ui5-tooling/dist/middlewares/fiori-tools-proxy.js: ENOENT: no such file or directory, open '/home/user/projects/project1/node_modules/@sap/ux-ui5-tooling/dist/middlewares/cfServicesUtil.js.map' Server started URL: http://localhost:8080

Accepted Solutions (0)

Answers (1)

Answers (1)

zdravko_georgiev
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

the "No such file..." errors are coming from the Node Debugger of VSCode. The Debugger complains about missing sourcemap files.

Please see here on how to resolve this issue: https://github.com/microsoft/vscode/issues/102042#issuecomment-656402933

Best regards,

Zdravko