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
-
Hi, I found that
yarn postinstall
doesn'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/viz
works differently on Linux and Windows.Idea of the script is to install & build package in directory
viz-lib
and 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/.yarn
instead of./.yarn
which 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/viz
I 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