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

No registered package found called "@redash/viz". #5564

Closed
alenmjis opened this issue Aug 14, 2021 · 8 comments
Closed

No registered package found called "@redash/viz". #5564

alenmjis opened this issue Aug 14, 2021 · 8 comments
Assignees

Comments

@alenmjis
Copy link

alenmjis commented Aug 14, 2021

Always getting error - (logins are working but all CSS/js/html templates are broken)

No registered package found called "@redash/viz".

Installation on - DOCKER with all instances running

image

@kravets-levko kravets-levko self-assigned this Aug 16, 2021
@kravets-levko
Copy link
Collaborator

@alenmjis thank you for reporting this! Looks that's related to recent changes I've made. Can you please tell what exactly you're doing (step by step) - so I can check your scenario? Thanks!

@alenmjis
Copy link
Author

@kravets-levko

Screen I get:

image

( Note: I am not a programmer )

@kravets-levko
Copy link
Collaborator

Thank you! Will check ASAP

@flowell
Copy link

flowell commented Aug 17, 2021

It seems like the working path of yarn link is wrong.

The command "postinstall" in package.json use

yarn link --link-folder ./.yarn @redash/viz

but ./.yarn is not exists. It may be ../.yarn or cd ../ && ./yarn ?

The command "postinstall" in package.json.

"preinstall": "cd viz-lib && yarn link --link-folder ../.yarn",
"postinstall": "(cd viz-lib && yarn --frozen-lockfile && yarn build:babel) && yarn link --link-folder ./.yarn @redash/viz"

@ignafernandez92
Copy link

whats the status of this issue?

@loneil
Copy link

loneil commented Oct 13, 2021

I'm trying to install locally from the steps on the redash site here
https://redash.io/help/open-source/dev-guide/docker

And I'm running into the same errors from the screenshot in this issue and can't complete the local setup during the
yarn --frozen-lockfile step

@andreyferriyan
Copy link

Why don't you try again manually. I try running this command and it works.

(base) PS D:\tmp\docker\redash\redash> yarn link --link-folder ./.yarn @redash/viz
yarn link v1.22.17
success Using linked package for "@redash/viz".
Done in 13.85s.

@konnectr
Copy link
Collaborator

We have a new guide for local development https://github.com/getredash/redash/wiki/Local-development-setup. If you need help, then create a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants