javascript - webpack-dev-server renders all js files, but throws 404 on load -


my environment working perfectly, behaviour appeared.

the page includes scripts 'images.js' 'polyfill.js' 'vendor.js'

when running webpack server, starts nicely (green 'rendered' messages). when opening page (index.html available), on loading referenced scripts, 404 in output window.

it seems me there build errors on server startup, there no error output. there way 'deeper' server makes on startup?

thanks guys on github, solve finally. turned out there difference in behaviour running webpack server on windows 10 (where works collegues) , windows server 2008 (which using). setting 'publicpath' in webserver config http://localhost:3000/ solved it.

https://github.com/webpack/webpack-dev-server/issues/702


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -