webpack中“ UnhandledPromiseRejectionWarning: TypeError: Class constructor ServeCommand cannot be invoked without ‘new’”问题
弄了很久都还是报错,如下:
后来直接将开发环境的webpack-cli卸载重新安装后,运行成功
webpack中“ UnhandledPromiseRejectionWarning: TypeError: Class constructor ServeCommand cannot be invoked without ‘new’”问题
弄了很久都还是报错,如下:
后来直接将开发环境的webpack-cli卸载重新安装后,运行成功