我正在尝试运行webpack-dev-server,但出现以下错误:
多个../node_modules/webpack-dev-server/client中出现错误?http://localhost:8080 ./app/index.js 找不到模块:错误:无法解析“ / home / dinesh / Shopify_Test_New / shopify_app / bin”中的“ ./app/index.js” @ multi ../node_modules/webpack-dev-server/client?http://localhost:8080 ./app/index.js
webpack-dev-server版本:2.11.1
webpack.config.js
var webpack = require('webpack');
var config = {
entry: "./app/index.js",
resolve: {
extensions: ['.ts', '.js']
},
output: {
path: __dirname + '/dist', // `dist` is the destination
filename: 'bundle.js',
},
};
module.exports = config;