DEV Community

Discussion on: An Overview and Setup of TypeScript as a Complete Beginner

Collapse
 
lyrod profile image
Lyrod

Please, do not use "sudo" for global npm package install. You're by-passing permission problem.

Collapse
 
rish15 profile image
rish srivastav • Edited

been there done that
Follows a series of complications. lesson learned Do not use sudo with npm NEVER

Collapse
 
justaman045 profile image
{ Aman }

I'll remember it

Also tell everyone to do the same in the next part of the Typescript article

Collapse
 
justaman045 profile image
{ Aman }

Thanks for your feedback

Btw I was learning from Traversy Media and he was on Mac and he entered this command only so I wrote this down ( as I was making notes for typescript so I wrote every detail I thought could be necessary

Collapse
 
rish15 profile image
rish srivastav

error missing ')' at line 4 :)

Thread Thread
 
justaman045 profile image
{ Aman } • Edited

😂😂

I wish I've had used Typescript in here itself >.<

Remember the error check while writing the code itself ;)

Thread Thread
 
rish15 profile image
rish srivastav

even JS would have caught considering you had the linter configured haha.
On a sidenote I would be interested in reading about configuring nodejs with ts.

Thread Thread
 
justaman045 profile image
{ Aman }

Ahh a bit of delay in reply as well as the article

But if you want TypeScript with Express then you should check on Nest.js

Let me know if you do check on it

Because I haven't

Thread Thread
 
rish15 profile image
rish srivastav

Currently occupied with react, will check in coming months