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

BUG - cds watch script not added to CAP based project in SBAS #2743

Open
2 tasks done
korotkovao opened this issue Jan 7, 2025 · 0 comments
Open
2 tasks done

BUG - cds watch script not added to CAP based project in SBAS #2743

korotkovao opened this issue Jan 7, 2025 · 0 comments
Assignees
Labels
cap-config-writer @sap-ux/cap-config-writer

Comments

@korotkovao
Copy link
Contributor

Related Feature

Feature request: issue number

Description

A clear description of what the bug is.

Steps to Reproduce

Steps to reproduce the behaviour:

  1. Clone repo https://github.com/SAP-samples/cap-sflight
  2. run npm i
  3. Run App generator and generate a FE v4 List Report using
  4. local CAP project cap-sflight
  5. TraveService (NodeJS)
  6. main entity Travel
  7. nav entity to_Booking
  8. choose any module name /app title/ app namespace

Expected results

Sript added to added to the root package.json.
The generated watch Script looks something like this
"watch-typescript": "cds watch --open typescript/webapp/index.html?sap-ui-xx-viewCache=false"

Actual results

No new cds watch script was added to the root package.json .
Issue only occurs in SBAS and works well in VSCode.

Screenshots

If applicable, add screenshots to help explain the problem.

Version/Components/Environment

Add any other context about the problem here
OS:

  • Mac OS
  • SBAS

Root Cause Analysis

Problem

Issue with paths in SBAS when detecting the @sap/cds version.

Fix

{describe the fix}

Why was it missed

{Some explanation why this issue might have been missed during normal development/testing cycle}

How can we avoid this

{if we don’t want to see this type of issues anymore what we should do to prevent}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cap-config-writer @sap-ux/cap-config-writer
Projects
None yet
Development

No branches or pull requests

1 participant