facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.73k stars 26.85k forks source link

Can't run project #12459

Open todinhvin opened 2 years ago

todinhvin commented 2 years ago

I can't run the server in this project. Please help me. This error bellow. Thank you so much express-session deprecated req.secret; provide secret option index.js:64:9 /home/lap12703/Code/kahoot-clone/node_modules/passport-auth0/lib/index.js:36 throw new Error('You must provide the ' + k + ' configuration value to use passport-auth0.'); ^

Error: You must provide the domain configuration value to use passport-auth0.

josecarneiro commented 2 years ago

This is not an issue with create-react-app, you're probably running an express server and forgot to pass the express-session middleware a secret option. Refer to the express-session package documentation.