Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with command: npm start #3

Open
mohamedmehdigara opened this issue May 29, 2022 · 0 comments
Open

Error with command: npm start #3

mohamedmehdigara opened this issue May 29, 2022 · 0 comments

Comments

@mohamedmehdigara
Copy link

PS C:\Users\p-c\Downloads\Github\react-jwt-authentication-example> npm start

[email protected] start
webpack-dev-server --open

C:\Users\p-c\Downloads\Github\react-jwt-authentication-example\node_modules\webpack-cli\bin\utils\prompt-command.js:46
return func(...args);
^

TypeError: Class constructor ServeCommand cannot be invoked without 'new'
at runWhenInstalled (C:\Users\p-c\Downloads\Github\react-jwt-authentication-example\node_modules\webpack-cli\bin\utils\prompt-command.js:46:9)
at promptForInstallation (C:\Users\p-c\Downloads\Github\react-jwt-authentication-example\node_modules\webpack-cli\bin\utils\prompt-command.js:140:10)
at C:\Users\p-c\Downloads\Github\react-jwt-authentication-example\node_modules\webpack-cli\bin\cli.js:32:43
at Object. (C:\Users\p-c\Downloads\Github\react-jwt-authentication-example\node_modules\webpack-cli\bin\cli.js:366:3)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant