-
Notifications
You must be signed in to change notification settings - Fork 10
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
[BUG] Symlink to sap__types is deleted after each npm command #216
Comments
I have encountered the same issue. @levkovsb have you found any quickfixes in the meantime? Update: upgrading to version 0.6.5 has fixed the issue for me. |
Hi @levkovsb , sorry for the delay.
Best, |
Considering this fixed in the latest version of cds-types. Should it resurface on 0.6.5 and later for you, feel free to reopen. |
The issue persists in the version 0.6.5. As long as I execute any npm script in one of the workspaces of our monorepo, the symlink is gone and the project is no longer runnable. Please investigate further |
Is there an existing issue for this?
Current Behavior
We use @cap-js/cds-types in a monorepo setup as devDependency. Every npm command in any workspace deletes the symlink to sap__types in the node_modules folder at the root level.
Expected Behavior
Symlink should not be deleted. Even better, provide an npm package instead of a symlink
References
The issue appeared after upgrading to the version 8 of @sap/cds. No problems were detected when using version 7. https://cap.cloud.sap/docs/releases/jun24#typescript
Versions
| ---------------------- | ------------------------------------------------------------------------------------ |
| @cap-js/asyncapi | 1.0.2 |
| @cap-js/openapi | 1.0.5 |
| @sap/cds | 8.1.0 |
| @sap/cds-compiler | 5.1.2 |
| @sap/cds-dk (global) | 8.1.1 |
| @sap/cds-fiori | 1.2.7 |
| @sap/cds-foss | 5.0.1 |
| @sap/cds-mtxs | 2.0.5 |
| @sap/eslint-plugin-cds | 3.0.4 |
| Node.js | v20.11.1 |
Anything else? Logs?
No response
The text was updated successfully, but these errors were encountered: