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

Installing superset-frontend as a package throws an error which links to @superset-ui/plugin-chart-period-over-period-kpi dependency #27993

Closed
3 tasks
corocoto opened this issue Apr 11, 2024 · 0 comments · Fixed by #27994

Comments

@corocoto
Copy link
Contributor

corocoto commented Apr 11, 2024

Bug description

I try to install superset-frontend folder as a package by using the GitPkg tool. But I got an error that links to @superset-ui/plugin-chart-period-over-period-kpi:

error Package "" refers to a non-existing file '"/Users/ar.gusev/Library/Caches/Yarn/v6/.tmp/5b638f445cee7c3c258eea521b4ed43c/plugins/plugin-chart-period-over-period-kpi"'.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

The main reason why it happened is that this plugin doesn't exist in the plugins folder. I suppose, we can remove it from the dependency list, and this approach should resolve the main problem.

How to reproduce the bug

  1. Install yarn
  2. Open GitPkg
  3. Copy path to the superset-frontend folder
  4. Paste it to the GitPkg
  5. Copy generated script (yarn add 'apache/superset#superset-helm-chart-0.12.9')
  6. Try to install

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

Not applicable

Node version

18 or greater

Browser

Not applicable

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant