r/VisualStudioCode • • Feb 03 '22

Installing ESLint and node

Some Lynda courses I did some time ago required me to install node and I now have multiple files with names like node_modules, package-lock.json, package.json, settings.json. It looks like package-lock.json and package.json are specific for particular courses, which are identified in line one of their respective files.

There are several instances of node_modules.

Question 1: do I need multiple instances of node, or just one instance?

Question 2: can anyone point me to a site explaining in simple words, how to install npm and node?

I don't think I have ever installed them properly; I remember getting all types of error messages when installing and when I tried to install ESLint and actually activate it, even more problems. If ESLint is working, it doesn't give me any advice, and I know I make a lot of mistakes.

I would appreciate someone's help; I am teaching myself javascript (and enjoying it) but keep falling into holes due to things I do not understand. Thanks.

2 Upvotes

2 comments sorted by