Closed mqklin closed 8 years ago
Did you edit something? The port should definitely be 9090, I don't see how it would just change to 9091 all by itself...
Sorry, it's a typo - file at http://localhost:9090/client.bundle.js
Ah, so webpack finished building but it looks like Meteor didn't start up yet. Wait for it to say
=> App running at: http://localhost:3000/
Before trying to open the page in the web browser.
HTTP 502 often means that a reverse proxy server gets an invalid response from the upstream server. In this case webpack-dev-server
is already up and running on port 9090, but Meteor isn't running yet, so when webpack-dev-server
fails to access it, it generates a 502 error.
I'm closing this, but if that doesn't work let me know and I'll reopen it.
Yes. thank you. Meteor start is so slow...
Yep. Personally I stick with old Meteor 1.0.5, because it's faster. MDG really made a mistake rolling their own bundler in 1.2 instead of just using Webpack.
(just look: over 75 upvotes on this issue: https://github.com/meteor/meteor/issues/4284)
My steps:
git clone
npm i
node dev.js
http://localhost:9090/
I see an error 502 Bad Gateway in console:http://localhost:9090/favicon.ico Failed to load resource: the server responded with a status of 502 (Bad Gateway)
http://localhost:9090/ Failed to load resource: the server responded with a status of 502 (Bad Gateway)
But I can get this file:http://localhost:9090/client.bundle.js
What is the problem can be?node dev.js
output: