-
Notifications
You must be signed in to change notification settings - Fork 39
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
Broken in Windows environment #3
Comments
Hrm... I'm not able to reproduce those exact errors. Using a fresh clone I was getting an entirely different set of errors I have no seen before. I didn't spend much time to investigate – I suspect this has to do with dependencies not being pinned and purescript 0.8.0. Anyways, I've pushed an update for purescript 0.8.0, and doing a fresh clone |
I will check it out today. For some reason I suspected that it had something to do with how the purescript webpack plugin was creating the output file path on Windows (I am using Windows 7 at the moment). It seems to use |
Ok, so I cloned the new version and the same issue is still happening. I was able to isolate where the errors are coming from, but I don't know enough about the webpack build process to figure out what is causing them. The last few lines of dist/bundle.js is where the errors are being thrown from. The code is below. The truncating file name doesn't seem to be the cause of the issue, but just a byproduct of the way the error code is written (windows path separator is '\'). Here is the code generated at the bottom of dist/bundle.js:
|
Hrm... it seems the issue is originating from purescript-webpack-plugin, which spawns a child process of I have very little Windows experience, so setting up a VM with a Windows 7 development environment will take me some time... |
On second thought, if it was a problem with spawning the child process the bundle would not finish as it did in the output you pasted above. It could also be an issue with the babel-loader or purs-loader plugins.. |
Yes, it appears that on first run that the three purs files throwing errors are indeed being found and built by the plugin as I can see their compiled JavaScript counterparts in the output folder. But perhaps webpack is failing to find them when it assembles everything together? Again, my experience with webpack is about 12 hours in total.
Adam
|
So I am following your instructions on the Readme, but I get an odd error when I run npm start:
Seems like a file name is getting truncated somewhere, but I don't know enough about this set-up to know where to look. Have you ever seen behavior like this before?
The text was updated successfully, but these errors were encountered: