Jshint detection code in webpack reported an error.

  node.js, question

A new webpack demo has just been built. I want to use jshint to test my js code. when I find it, I always prompt
Cannot find module ‘jshint
NPM Install JS Hint-Loader-Save-Dev is still reporting errors after many times of execution. As a novice, I want you to take a look at it for me!

The module code is as follows:

module.exports = {
 module: {
 loaders: [
 bracket
 test: /\.css$/,
 loaders: ['style', 'css?  sourceMap'],
 include: APP_PATH
 },
 bracket
 test: /\.(png|jpg)$/,
 loader: 'url?  limit=40000'
 },
 bracket
 test: /\.jsx?  $/,
 loader: 'babel',
 include: APP_PATH,
 query: {
 presets: ['es2015']
 bracket
 bracket
 ],
 preLoaders: [
 bracket
 test: /\.jsx?  $/,
 include: APP_PATH,
 loader: 'jshint-loader'
 bracket
 bracket
 },
 jshint: {
 "esnext": true
 bracket
 };

When npm start is running at this time, the following error screenshot will appear:

clipboard.png

npm install jshint jshint-loader --save-dev