title: npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\...\package.json'
body: <p>I'm doing a tutorial on VueJS. I am completely new to this, so not enitrely sure what I am doing.
  I followed all instructions, installed all packages, here is the check I made in terminal in VSCode:</p>
  
  <pre><code>PS C:\Users\...\Documents\Vue - Getting Started&gt; node --version
  v12.18.0
  PS C:\Users\...\Documents\Vue - Getting Started&gt; npm --version
  6.14.5
  PS C:\Users\...\Documents\Vue - Getting Started&gt; vue --version
  @vue/cli 4.4.1
  </code></pre>
  
  <p>However, whenever I try to <code>npm run serve</code> as it's shown in the tutorial, it shows an error stating that a <code>package.json</code> is missing:</p>
  
  <pre><code>npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\...\package.json'
  </code></pre>
  
  <p>I checked, and indeed, I don't have a file called <code>package.json</code> in my user folder. I only have a file called <code>package-lock.json</code>.</p>
  
  <p>I also noticed, that on the tutorial video, the terminal has something like <code>1: node</code>, while in mine, I can see <code>1: powershell</code>. Here is the screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/AEHyy.png" rel="nofollow noreferrer">screenshot from terminal</a></p>
  
  <p>What am I missing? Thank you</p>
  
  <hr>
  
  <p>As suggested by El, I did <code>npm init</code> and created a <code>package.json</code> file in my project folder. Inside, I added the bit suggested by El. The whole <code>package.json</code> file now looks like this:</p>
  
  <pre><code>{
    "name": "package.json",
    "version": "1.0.0",
    "description": "package json",
    "main": "index.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1",
      "serve": "node index.js"
    },
    "author": "",
    "license": "ISC"
  }
  </code></pre>
  
  <p>And I am now getting this error:</p>
  
  <pre><code>npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! package.json@1.0.0 serve: `node index.js`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the package.json@1.0.0 serve script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  npm WARN Local package.json exists, but node_modules missing, did you mean to install?
  </code></pre>