Software Engineer | Bangladesh 🌐💻
Diving into tech without a CSE background, yet my aspirations know no bounds. I'm rewriting my journey, determined to conquer every challenge and reach my goal.
If is'nt work for you try this
"scripts": {
"build": "npx tsc",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only app.ts"
},
Software Engineer | Bangladesh 🌐💻
Diving into tech without a CSE background, yet my aspirations know no bounds. I'm rewriting my journey, determined to conquer every challenge and reach my goal.
Software Engineer | Bangladesh 🌐💻
Diving into tech without a CSE background, yet my aspirations know no bounds. I'm rewriting my journey, determined to conquer every challenge and reach my goal.
Software Engineer | Bangladesh 🌐💻
Diving into tech without a CSE background, yet my aspirations know no bounds. I'm rewriting my journey, determined to conquer every challenge and reach my goal.
Everything is working. But in cases where I am not using typescript type properly, it's not giving any error while running server, any suggestions what I can use here?
We're a place where coders share, stay up-to-date and grow their careers.
instead of nodemon in package.json it should have been ts-node-dev
yes this work can be done by ts-node-dev also
nodemon can run typescript files if you have the dependency ts-node installed.
If is'nt work for you try this
"scripts": {
"build": "npx tsc",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only app.ts"
},
"dev": " ts-node-dev --respawn --transpile-only src/server.ts"
This is a great guide! Simple and useful. Thank you very much.
Thank you for your kind words! We're glad you found the guide helpful.
work well for me. thanks
everything will be fine..but even after running the server i can't find the dist folder
To see dist folder
after running this you will see dist folder
Not working showing success message of server is runnig. But when i try to request something request pn pedning...
I think there is some mistake on your side
please recheck the code and try to set it up using the steps mentioned.
Everything is working. But in cases where I am not using typescript type properly, it's not giving any error while running server, any suggestions what I can use here?