amireh / happypack

Happiness in the form of faster webpack build times.
MIT License
4.23k stars 124 forks source link

unable to locate the plugin list! This most likely indicates an internal error. #247

Closed liuzhiyang0113 closed 5 years ago

liuzhiyang0113 commented 5 years ago

I don't know what happened to it. Can you help me look at it. module:

      {
        test: /\.(js|jsx|mjs)$/,
        enforce: 'pre',
        use: 'happypack/loader?id=eslint',
        include: paths.srcPaths,
        exclude: [/[/\\\\]node_modules[/\\\\]/]
      }

plugin:

    new HappyPack({
      id: 'eslint',
      loaders: [
        {
          loader: require.resolve('eslint-loader'),
          options: {
            formatter: eslintFormatter,
            eslintPath: require.resolve('eslint'),
            baseConfig: {
              extends: [require.resolve('eslint-config-react-app')]
            },
            emitWarning: true
          }
        }
      ]
    })

erorr:

Failed to compile.

(disneytickets) ./src/disney/index.js
Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 2)
HappyPack: unable to locate the plugin list! This most likely indicates an internal error.
shb190802 commented 4 years ago

这个是怎么解决的

x8q7 commented 4 years ago

i have same problem,Has it been solved?

vickyisly commented 4 years ago

要怎么解决?