Getting Cannot read property 'providers' of undefined when i run 'npm run dev' #33
-
This is my first time working expressWebJs, i am trying to start the app but get the error below, how can solve this or what am I doing wrong? I have tsc version 4.4.3 installed, node version 14.18.0, npm version 6.14.15 and expresswebjs-ts-version version 3.0.0 -Starting ExpressWebJs ... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Can I see your package.json file? |
Beta Was this translation helpful? Give feedback.
-
You need to generate your .env file using this command Then you set up your env values e.g your database values Let me know if this is helpful |
Beta Was this translation helpful? Give feedback.
You need to generate your .env file using this command
cp example.env .env
Then you set up your env values e.g your database values
Once that is done, for Windows users, you make use of the Git Bash terminal to run 'npm run dev'
Let me know if this is helpful