Skip to Content
5 days ago

CDS Profiles not set correctly


Hello experts,

I am trying to set a specific profile for my CAP project.

If I follow this description (, I would expect to be able to set a profile using the NODE_ENV environment variable as long as I don't use any flags.

For example, if I set NODE_ENV = 'test', I would expect the profile to be set to 'test' only.

However, if I execute the following

cds env

The following profiles are set:


Why is the profile 'development' still active?

How can I remove this profile?

Note: When I set NODE_ENV = 'production', the development profile disappears from the profiles variable:


Thanks for your help