Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Latest Base Model - cds pull --from http://localhost:4004 -u bob (Not Working in VSCode - blank folder) #7

Open
sammok83 opened this issue Nov 18, 2022 · 3 comments

Comments

@sammok83
Copy link

sammok83 commented Nov 18, 2022

Hi there,

Just trying to follow Step 3: https://github.com/SAP-samples/teched2022-AD264/wiki/3.-Custom-Extensions

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

In Section Pull Latest Base Model :
when executing this command: cds pull --from http://localhost:4004 -u bob,
I'm getting a blank node_modules@capire\incidents folder.

@chgeo FYI.

@sammok83
Copy link
Author

sammok83 commented Jan 9, 2023

As a workaround to continue with cds pull not working the exercise, I did the following:

Create an index.cds file in the incidents folder, with the following contents:

namespace sap.capire.incmgt; //> important for reflection

using from './db/schema';
using from './srv/incidents-service';
using from './app/fiori';

do a cds compile (Compiles to CSN format) and copy the contents of that file to the node_modules/@capire/incidents folder. Name that file as index.csn, and continue with the exercise.

The original issue remains a bug.

@renejeglinsky
Copy link

Hi Samuel,
this bug has been solved with the latest release. Could you please confirm and close this issue?

All the best,
René

@sammok83
Copy link
Author

@renejeglinsky Still not working for me.
For reference, these are the npm packages installed:

"dependencies": {
    "@sap/cds": "6.5.0",
    "@sap/cds-mtxs": "^1.5.1",
    "express": "^4"
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants