cancel
Showing results for 
Search instead for 
Did you mean: 

cds pull --from http://localhost:4004 -u bob (Not Working in VSCode - blank folder)

former_member13323
Participant
0 Kudos

I am referring to URL:

https://cap.cloud.sap/docs/guides/extensibility/customization

Please get back to me on the following feedback:

I'm using the following:

Am using VS Code 1.73.1 with @sap/cds-dk v6.3.1

When executing

cds pull --from http://localhost:4006 -u bob:, I'm getting a blank node_modules folder.

René
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Samuel,

how did you approach this guide? Did you follow the steps or did you use our prepared samples?

All the best,
René

former_member13323
Participant
0 Kudos

rene.jeglinsky The step by steps. Probably the only difference is I'm using VS Code (version as above) and not BAS. Also I've updated all packages in package.json just to be sure.

More specifically, see the issue I've raised here as well:

teched2022-AD264

This was the example I've been following. Just use VS Code and follow the steps documented and you will see the issue.

René
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks Samuel, I understand now. I'll get back to you if I find a solution.

Accepted Solutions (0)

Answers (1)

Answers (1)

René
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Samuel,

according to 3. Custom Extensions · SAP-samples/teched2022-AD264 Wiki (github.com) the command should be:

cds pull --from http://localhost:4004 -u bob

It's a different port than you used. Then it should work if you followed the steps.

All the best,

René

former_member13323
Participant
0 Kudos

rene.jeglinsky I've actually tried 4004 as per the steps and it's not working. Sorry I quoted the wrong port above. I haven't debug the node_modules folder (for @sap/cds-dk v6.3.1) so I was hoping SAP can check what's wrong.

Just follow the steps in that teched session and you will see the error (In VS Code).