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
Support "Bash on Windows" #7583
Comments
I don't believe this has been tested at all yet and I'm not even remotely surprised that it doesn't work out of the box. I would recommend using the traditional Windows installer for now if you are eager to use Meteor on Windows. But by all means, please do try to help figure out what's wrong and submit a proposal for making it work. I'm sure many Windows users would appreciate it, but I don't know if this is going to get a lot of attention right away. My first question would be if you can setup your own Mongo server on that machine and then get Meteor to use it by specifying the environment variable But again, this is only speculation and there is probably a lot more that could be wrong / needs to be looked into. |
Okay, I'm glad that you're interested by this problem. But the problem is that some actually makes windows's linux shell working with meteor : http://tomgrek.com/post/meteor-on-windows-bash/ (and he told about his article here https://forums.meteor.com/t/linuxs-meteor-install-now-works-natively-on-windows/21954) and @heberallred said he make it works on #5091 |
Also I tried to change permissions of .meteor recursively both via linux and via windows explorer but that didn't change my problem, so as you said I could reinstalling windows installer (especially that I'm already late on a project) but that's really tough and sad |
Didn't succeed to install mongo. I'm under ubuntu 14.04, I followed that https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ and |
@NitroBAY You can try to start your MongoDB instance on Windows using Win binaries, and then specify the MONGO_URL to the instance on Windows. |
perhaps try installing it to a different location. I put my projects in a folder on the |
Finally mongodb is working but I can't get working 1.4 + subsystem exactly like https://forums.meteor.com/t/1-4-app-successfully-building-in-windows-10-bash/27552 |
It's working now. YAY the compilation seems faster. That plus the 1.4.2 which should (finally) focus on compilation time, Meteor could be really bearable on a daily basis :D 👍 (hard to focus when I have to wait 1 min for every changes) |
I don't know why but the bug is back. Either I try to launch my project on my windows drive (/mnt/c) but Unexpected mongo exit code 100. Restarting. (even with sudo, even with admin right to the bash). Either I create a project into linux but then when I change something windows side on (AppData\Local\lxss) the changes ARE NOT DETECTED by linux. ALL was working great but since days the bug I described above is back AND I waste days into that without solving anything.... |
I started to have the same issue recently. if I run |
If I put my project in home of windows bash changes aren't detected so I can't edit my code. |
Please if you can do test on W10, we would be so glad to use linux on Windows ! |
The older 1.3 meteor branch works under WSL, just downgrade until MDG will fix the new mongo version in 1.4 branch.
|
As I think it's interesting enough, here's what @abernix said on another report about bash on windows
I'm glad to have a report on the situation about bash on Windows + Meteor, thanks @abernix to have investigated this issue. |
It may be that 1.4 requires inotify support, which will be added at some point to release builds of windows 10 |
Thanks for cross-posting that, @NitroBAY, I had meant to do that but forgot. I hope I was clear: I do think this can all get worked out eventually and there might be some changes that Meteor needs to make in order to finally work, but as of right now I had to throw my hands up especially since I don't actively work on Windows and BashOnWindows isn't open-source so it could be further debugged by the community. |
@musosoft can you clarify what you mean by '1.3 works under WSL'? For example, do you put your project under
Has anyone actually tried running meteor on WSL while editing the files from a normal Windows app? If so, what works? |
Just wanted to follow-up on my last comment. Under some basic testing, Meteor 1.3.5.1 seems to work fine with the project under Haven't tested 1.4.x yet, but would be interested in the build optimizations in 1.4.2 if those improve performance further. Will report back with any additional findings. |
Oh yeah so I wasn't crazy, Meteor used to work and to detect changes under /mnt/c. |
So ... as Windows added inotify support on Insiders builds Meteor on windows on bash is working now on Insiders build ? |
Well I still have mongo error (14/100) even after the creator update. |
Same here. Is there any way to fix it? |
To help provide a more clear separation between feature requests and bugs, and to help clean up the feature request backlog, Meteor feature requests are now being managed under the https://github.com/meteor/meteor-feature-requests repository. Migrated to meteor/meteor-feature-requests#154. |
Following up on my earlier post, Meteor 1.5 does not work using WSL for a project under
|
I'd recommend everyone who is following this thread to post their latest experiences over at meteor/meteor-feature-requests#154 to see if we can get Meteor working on WSL again. |
Hello, I updated W10 to anniversary edition and so I downloaded meteor 1.4.0.1 via linux command of your website (curl | sh), check that I've python, gcc as the C compiler (+ sudo apt upgrade/update) but either on old project or newly created projects with the brand new ubuntu shell I got with sudo meteor :
Unexpected mongo exit code 100. Restarting. Unexpected mongo exit code 100. Restarting. Unexpected mongo exit code 100. Restarting. Can't start Mongo server. MongoDB had an unspecified uncaught exception. This can be caused by MongoDB being unable to write to a local database. Check that you have permissions to write to .meteor/local. MongoDB does not support filesystems like NFS that do not allow file locking.
if I ommit sudo I have an
=> Started proxy. Unexpected mongo exit code 14. Restarting. Unexpected mongo exit code 14. Restarting. Unexpected mongo exit code 14. Restarting. Unexpected mongo exit code 14. Restarting. /home/NitroBAY/.meteor/packages/meteor-tool/.1.4.0-1.13j49n2++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:165 throw error; ^ Error: EACCES: permission denied, mkdir '/home/NitroBAY/.meteor/packages/npm-bcrypt/.0.8.7.1yuta2i++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-pwr33q' at Error (native)
The text was updated successfully, but these errors were encountered: