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 - getModule fails to load module from cache if first installation did not finish or it installed broken version #2999

Open
3 tasks
815are opened this issue Mar 6, 2025 · 0 comments
Assignees
Labels
project-access Tickets related to @sap-ux/project-access

Comments

@815are
Copy link
Contributor

815are commented Mar 6, 2025

Description

getModule fails to load module from cache if first installation did not finish or it installed broken version

Steps to Reproduce

Steps to simulate the behavior:

  1. Navigate to .fioritools\module-cache
  2. Use any dependency/module
  3. For example you should have .fioritools\module-cache\your_dep\1.124.11\node_modules\your_dep;
  4. Delete folder .fioritools\module-cache\your_dep\1.124.11\node_modules\your_dep;
  5. Try to load module again using getModule

Problem - loading fails.
One way to fix it is to delete folder .fioritools\module-cache\your_dep

Expected results

Module is loaded

Actual results

Module is not loaded

Screenshots

If applicable, add screenshots to help explain the problem.

Version/Components/Environment

Add any other context about the problem here
OS:

  • Mac OS
  • Windows
  • Other

Root Cause Analysis

Problem

{describe the problem}

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
project-access Tickets related to @sap-ux/project-access
Projects
None yet
Development

No branches or pull requests

1 participant