title: VUe.js run serve failing after installation
body: <p>I have installed Vue on my terminal with :</p>
  <pre><code>sudo npm install -g @vue/cli
  </code></pre>
  <p>After that , I created a project, moved into the folder and tried to run the server :</p>
  <pre><code>vue create frontend
  cd frontend
  npm run serve
  </code></pre>
  <p>So , I didn't change anything from the presets but I can't launch my server and I get the following error :</p>
  <pre><code>  ERROR  Failed to compile with 1 error                                                              21:56:21
  
   error  in ./src/App.vue?vue&amp;type=script&amp;lang=js
  
  Syntax Error: RangeError: /home/simao/Desktop/chess_DB/frontend/src/App.vue: Maximum call stack size exceeded
      at Array.map (&lt;anonymous&gt;)
      at Array.map (&lt;anonymous&gt;)
      at Array.map (&lt;anonymous&gt;)
      at Array.map (&lt;anonymous&gt;)
      at Array.map (&lt;anonymous&gt;)
  
  
   @ ./src/App.vue?vue&amp;type=script&amp;lang=js 1:0-262 1:0-262 1:263-514 1:263-514
   @ ./src/App.vue
   @ ./src/main.js
   @ multi (webpack)-dev-server/client?http://192.168.1.19:8080&amp;sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
  
  </code></pre>
  <p>I looked into App.vue and main.js but this feels strange since I haven't touched the files after installing vue. Any idea what it might be ?</p>
  <p>Vue version : @vue/cli 4.5.15</p>
  <p>node : v16.14.0</p>
  <p>OS : Ubuntu 20.04</p>