Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J js-stack-from-scratch
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Verekia
  • js-stack-from-scratch
  • Issues
  • #198
Closed
Open
Issue created Apr 05, 2017 by Administrator@rootContributor

dev:wds error on chapter 4

Created by: pzac

Type of issue: (feature suggestion, bug?)

Bug

Chapter:

4 - HMR

If it's a bug:

yarn dev:wds was triggering an error

url.js:576
    host = auth + (this.hostname.indexOf(':') === -1 ?
                                 ^
TypeError: this.hostname.indexOf is not a function

The error persisted until I added the host flag to the dev:wds script in package.json:

"dev:wds": "webpack-dev-server --progress --host 0.0.0.0",
Assignee
Assign to
Time tracking