Skip to content

webpack-dev-server not working with jshint when only installed globally #4

Description

@ro-savage

Running on OS X, node 0.12.7, NPM 3.4.0, webpack 1.12.9, webpack-dev-server 1.14.0, jshint 2.8.0, jshint-loader 0.8.3

I was getting the error

ERROR in (webpack)-dev-server/client?http://localhost:8080
Module not found: Error: Cannot resolve module 'jshint-loader' in /usr/local/lib/node_modules/webpack-dev-server/client
 @ (webpack)-dev-server/client?http://localhost:8080 1:10-24

This was fixed by installing webpack-dev-server into the project directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions