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

Issues getting parcel to work correctly on Windows #1029

Closed
humphd opened this issue Mar 20, 2018 · 2 comments
Closed

Issues getting parcel to work correctly on Windows #1029

humphd opened this issue Mar 20, 2018 · 2 comments

Comments

@humphd
Copy link

humphd commented Mar 20, 2018

I've been building a small web app with students this past week, and we used Parcel. It initially worked really well, and was ideally suited to students new to the idea of bundling. Parcel does a lot right, and it's very impressive in its simplicity.

However, I was forced to switch to webpack after many students struggled to get things to work on Windows. Their setups differed from one another (e.g., versions, which shell they used, etc) so it's hard to give you an exact environment spec. However, it was fairly consistent across the students running Windows, where those on Mac and Linux didn't seem to have so much difficulty. Two main issues stood out:

  • In the build, I had two npm scripts to run parcel with and without defining an environment variable. The variable was only sometimes defined, and often seemed to lose its value on rebuilds of the code; though I saw it happen on first runs too.

  • By far the larger issue was that the build would either never complete, or take forever. The bundle just never got made, and the browser would load forever.

https://github.com/humphd/bridge-troll/ is the repo I was building with them, and b0468b3f8aa590243f6d5af3389e3711b1c8fbf9 the last commit before I switched to webpack.

Apologies that this bug is vague, bug @devongovett encouraged me to file something. I wonder how many of your devs are testing regularly on Windows? I know I'm on Mac, and it worked perfectly for me there. But using this more widely requires full Windows support.

If there's nothing actionable here, feel free to close this. I'll check back in on parcel again as you keep improving things. It's really cool.

@davidnagli
Copy link
Contributor

cc @brandon93s

@jkrehm
Copy link
Contributor

jkrehm commented Mar 21, 2018

The "never completes" seems likely to be related to #637 and #900. I know I run into that regularly, but it happens for me on both Windows and Linux.

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

No branches or pull requests

3 participants