1

I try to install express with vs code, but I get 3 npm warn No description No repository field No license Neither does it load node-modules and json

Output

Dave Newton
  • 158,873
  • 26
  • 254
  • 302

2 Answers2

1

On vs code use terminal then your target folder write npm init then select entry point index.js after that type npm install express --save press enter

For more go to : https://expressjs.com/en/starter/installing.html

Kayes Fahim
  • 672
  • 5
  • 16
0

You are installing an npm dependency but are not working in a npm package. Try running npm init and following the instructions that appear in the terminal.

Read more: https://docs.npmjs.com/creating-node-js-modules

Jeroen
  • 15,257
  • 12
  • 59
  • 102