wclr / ts-node-dev

Compiles your TS app and restarts when files are modified.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello world, I am new to coding and am trying to install TS node but am getting this error, //found 0 vulnerabilities., Please help me

wizparker opened this issue · comments

20220405_034540

Issue description

Context

OS version (is it docker or host?), ts-node-dev version

Did you try to run with ts-node?

Did you try to run with --files option enabled?

Did you try to run with --debug option enabled?

Do you have a repro example (git repo) with simple steps to reproduce your problem?

Yes

Hello -- you are very new! There is no error in your console, instead, try running npm ls --depth=0 -g to list your globally installed packages. You'll probably see ts-node-dev in there, which will indicate that it is already installed globally.

If you're really new with Node.js, NPM, or TypeScript -- I'd recommend familiarizing yourself with these topics, in this order:

a. node - Node.js, the platform this is running on (docs | globals)
b. Node.js' package system, as described here
c. npm/npm init - the Node.js CLI for package management
d. package.json - the npm package definition file

...and finally, you can come back to TypeScript with ts-node-dev!

If you also happen to be unfamiliar with the web platform, or JavaScript in general, I'd recommend the Mozilla Developer Network (MDN) guides on Javascript. Though knowledge about HTML and CSS is recommended, it is not required to simply get started with JavaScript, Node.js, or TypeScript (until you start writing web-based stuff).

@wizparker In my honest opinion ts is generally more complicated and harder than just js so I suggest using .js only when you start out

(and for anyone else, before you downvote saying js is bad just take a wider look at this ts ecosystem and compare the sheer complexity)