Windows frontend local launch #6911
m1ker1n
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I found that
yarn postinstalldoesn't works properly on Windows. Well, I saw that devs aren't using Windows, but I use.(cd viz-lib && yarn --frozen-lockfile && yarn build:babel) && yarn link --link-folder ./.yarn @redash/vizworks differently on Linux and Windows.Idea of the script is to install & build package in directory
viz-liband then link this package. But on Windows there is no such things as subshells so everything is executed as there is no the parenthesis. So the script tries to link package to folder./viz-lib/.yarninstead of./.yarnwhich is wrong.It would be nice if you rewrite it as
cd viz-lib && yarn --frozen-lockfile && yarn build:babel && cd .. && yarn link --link-folder ./.yarn @redash/vizI tested on my pure Windows and on WSL2 with Ubuntu, and it works fine, so I hope you won't see the difference and I get what I want :)
Beta Was this translation helpful? Give feedback.
All reactions