-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Building from source on Windows 10 produces 2 errors #92
Comments
Hello! Yes, WSL seems the right way to go... I'm surprised it doesn't work out of the box... are you using WSL 2.0? which shell does it have? bash, or? This:
simply sets the |
I have tried it in powershell, cmd, windows terminal (which is running
powershell) and bash (WSL). It works running under bash but it doesn't
generate a windows executable and the -mlw flag throws new errors related
to the macOS build.
I am testing my css changes and it works the way I like it but hte build
process it run part in bash, then manually change some commands and copy
files then run dist in powershell.I was hoping changing cp to copy would
solve the first part but it hasen't. I have the INLINE_RUNTIE_CHUNK errorI
have it 95% solved using a cross-env package. I will push an update (minus
my css changes) and request a PR once I have it the rest of the way there.
then try to add the css changes to the option screen and request a new PR
for that.
…On Tue, 18 Jan 2022 at 00:46, Mauro Bieg ***@***.***> wrote:
Hello! Yes, WSL seems the right way to go... I'm surprised it doesn't work
out of the box... are you using WSL 2.0? which shell does it have? bash, or?
This:
INLINE_RUNTIME_CHUNK=false react-scripts build
simply sets the INLINE_RUNTIME_CHUNK environment variable when running
the command react-scripts build, but seems the shell you're running in
doesn't know that syntax...
—
Reply to this email directly, view it on GitHub
<#92 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABGVGIVAKH3THA7X3DDJU3UWULEHANCNFSM5MFXQ5KQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
that sounds promising!
let's discuss/track that in #93 |
I added the cross env package as a dev dependency and changed the command to
it fixes the INLINE_RUNTIME_CHUNK error - but I can't test the mac build or -mlw flag. still working on the cp/copy error, I will work on it this weekend and hopefully have a PR ready. |
Building from source on windows throws 2 errors.
First
yarn install
I edited the package.json replacing cp with copy but received a different error. I reverted and ran the command via WSL
Second
yarn dist
Any advice would be appreciated.
The text was updated successfully, but these errors were encountered: