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

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

i have the same problem but i didn't find solution yet ! 😞

Dan_Wroblewski
Developer Advocate
Developer Advocate

raz.korn Can you look at this?

Bernard
Participant

I have the same/similar problem and have seen multiple instances of this question with no answers provided?!

Could not read source map for file:///home/user/projects/fsacdoca/node_modules/@sap/ux-ui5-tooling/dist/cli/index.js: ENOENT: no such file or directory, open '/home/user/projects/fsacdoca/node_modules/@sap/ux-ui5-tooling/dist/cli/patchRequire.js.map'

car-0505-los
Member
0 Kudos

I followed the tutorial exactly and have a similar error, is the a solution to the problem yet?

Accepted Solutions (0)

Answers (1)

Answers (1)

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