title: Cannot determine project or target for command. Angular+Electron
body: <p>I'm currently trying to run my angular project as an app using electron. I created a script in the package.json adding this line</p>
  
  <pre><code>"electron": "electron ."
  </code></pre>
  
  <p>after having build the app using the command</p>
  
  <pre><code>ng build myapp --prod
  </code></pre>
  
  <p>when I run the command:</p>
  
  <pre><code>ng run electron
  </code></pre>
  
  <p>I'm receiving the following error:</p>
  
  <pre><code>Cannot determine project or target for command.
  Error: Cannot determine project or target for command.
  at RunCommand.initialize (C:\Users\ ....\myapp\node_modules\@angular\cli\models\architect-command.js:37:23)
  at &lt;anonymous&gt;
  at process._tickCallback (internal/process/next_tick.js:188:7)
  at Function.Module.runMain (module.js:695:11)
  at startup (bootstrap_node.js:191:16)
  at bootstrap_node.js:612:3
  </code></pre>
  
  <p>I tried to update the cli, the angular core and the bootstrap packages but nothing seems to be working.
  When installing boostrap I ran the command:</p>
  
  <pre><code>npm install --save bootstrap@3
  </code></pre>
  
  <p>and after that I added to the angular.json file, under style the line:</p>
  
  <pre><code>"./node_modules/bootstrap/dist/css/bootstrap.min.css"
  </code></pre>
  
  <p>Everything is working correctly when i run ng serve it seems somehow related to electron. Can anyone please help me?
  Thanks</p>