cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with @sap/cds-dk 7 macOs

Rwitte
Participant
0 Kudos

Dear experts,

a colleague from my team has after an upgrade to v7 an issue. For the rest of the team it works fine. Her setup is
- Apple M2 chip
- macOS Ventura 13.4.1
- node 16

Unfortunately we do not have anyone with the same setup in our team to double check if it uniquely for her.
A downgrade to 6.8.3 of @sap/cds-dk solved it. Anyone else facing some issue?

Appreaciate any ideas 🙂

Best regards,
Raphael

chgeo
Advisor
Advisor
0 Kudos

This looks like property `cds._log` was already set when cds-dk wants to define it.
I am not able to reproduce it. Are you?

The issue should not depend on macOS or the Node.js installation. Could it be that a old version of `@sap/cds` is in use here? What does `cds version` print?

0 Kudos

Facing same issue on windows as well

chgeo
Advisor
Advisor

Accepted Solutions (1)

Accepted Solutions (1)

chgeo
Advisor
Advisor
We have identified the issue and will provide a fix with the next patch of @sap/cds-dk.
Rwitte
Participant

christian.georgi I was also about to provide my insights to this topic as since yesterday I am also facing it after using NVM. Due to the fact that this loads at first the global modules and afterwards resolves the local ones the usage of defineProperty in v7 leads to this issue. As _log is not specified as configurable it results into this error message.

However as you said you might have figured this out already. Thanks for taking care of this!

Answers (0)