vuejs / vue-loader

📦 Webpack loader for Vue.js components
MIT License
4.99k stars 914 forks source link

TypeError: Class constructor ServeCommand cannot be invoked without 'new' #1997

Closed hassni12 closed 2 years ago

hassni12 commented 2 years ago

E:\oldskool-html-bootstrap-main\node_modules\webpack-cli\bin\utils\prompt-command.js:46 return func(...args); ^

TypeError: Class constructor ServeCommand cannot be invoked without 'new' at runWhenInstalled (E:\oldskool-html-bootstrap-main\node_modules\webpack-cli\bin\utils\prompt-command.js:46:9) at promptForInstallation (E:\oldskool-html-bootstrap-main\node_modules\webpack-cli\bin\utils\prompt-command.js:140:10) at E:\oldskool-html-bootstrap-main\node_modules\webpack-cli\bin\cli.js:32:43 at Object. (E:\oldskool-html-bootstrap-main\node_modules\webpack-cli\bin\cli.js:366:3) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) at Function.Module._load (node:internal/modules/cjs/loader:839:12) at Module.require (node:internal/modules/cjs/loader:1028:19) at require (node:internal/modules/cjs/helpers:102:18)

please help me out to solve this

vue-bot commented 2 years ago

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!