Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Webpack server : localhost:8080 : doesn't work with fresh install of C-B repo #351

Open
ghost opened this issue Jun 15, 2016 · 5 comments
Open
Labels

Comments

@ghost
Copy link

ghost commented Jun 15, 2016

HI All,

I found some bug - maybe this only my dev issue. I would like share some details.
Also this is a fresh install of C-B repo.

Refer to all files webpack.dev.babel.js in /examples :

export default {
devtool: 'inline-source-map',
  output: {
    path: path.join(__dirname, '../dist'),
    filename: 'bundle.js',
    publicPath: '/',
  },
  entry: [
    'webpack-dev-server/client',
    'webpack/hot/only-dev-server',
    path.join(__dirname, './src/index.js'),
  ],

and line 'webpack-dev-server/client',
modified to 'webpack-dev-server/client?http://0.0.0.0:8080',

Webpack Server now working well with : e.g. npm run example:dev.

Thank you,
Adam

@nikgraf
Copy link
Member

nikgraf commented Jun 19, 2016

thx Adam!

Did you really mean html://0.0.0.0:8080 or http://0.0.0.0:8080?

Was ist not working at all or just hot reloading failed? Any error messages you can share?

@nikgraf nikgraf added the bug label Jun 19, 2016
@ghost
Copy link
Author

ghost commented Jun 20, 2016

My bad :

should be : http://0.0.0.0:8080

Thanks

@nikgraf
Copy link
Member

nikgraf commented Jun 20, 2016

@7aDSK what kind of error message did you see?

@ghost
Copy link
Author

ghost commented Jun 22, 2016

I'll back to you - first I need reinstall all and check again with log.
Give me couple of days, please.
Thanks.

@ghost
Copy link
Author

ghost commented Jun 24, 2016

OK,

I tried clone : https://github.com/carteb/carte-blanche.git : and I'd some an issue with proper install.
After that I tried : https://github.com/pure-ui/carte-blanche : install done.

Webpack config : when this line 'webpack-dev-server/client' is without http://0.0.0.0:8080 : console, logs - everything is clean - no errors.
Only unable to see a localhost at browser. If I press 'F5' 20x very quick - sometimes, for 5-10s will see a localhost. And again is unavailable.

BUT if I added http://0.0.0.0:8080(or any other port) - again, log is clean and webpack working well - I see localhost.
Any information about webpack config I found at webpack.github.io.

Like I said before - maybe this is an issue only at my OSX.

Also my any other installations (other react, npm) for any other projects working well.

Thanks,
Adam

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant