title: project name not found in angular
body: <p>I am trying to convert my angular app to angular universal. I keep getting the error saying:</p>
  
  <blockquote>
    <p>Project 'my-app' could not be found in Workspace.</p>
  </blockquote>
  
  <p>when I try to build the app using:</p>
  
  <p><code>npm run build:client-and-server-bundles &amp;&amp; npm run webpack:server</code></p>
  
  <p><strong>app.module.ts:</strong></p>
  
  <p><code>BrowserModule.withServerTransition({appId: 'techstack21-angular'}),</code></p>
  
  <p><strong>Angular.json:</strong></p>
  
  <pre><code>"server": {
    "builder": "@angular-devkit/build-angular:server",
    "options": {
      "outputPath": "./dist/techstack21-angular",
      "main": "src/main.server.ts",
      "tsConfig": "src/tsconfig.server.json"
    }
  },
  </code></pre>
  
  <p><strong>tsconfig.app.json:</strong></p>
  
  <pre><code>"compilerOptions": {
    "outDir": "../dist/techstack21-angular",
    "module": "es2015",
    "types": ["node"],
    "typeRoots": [
      "node_modules/@types"
    ],
  },
  </code></pre>
  
  <p><strong>Package.json:</strong></p>
  
  <pre><code> "build:ssr": "npm run build:client-and-server-bundles &amp;&amp; npm run webpack:server",
      "serve:ssr": "node dist/server",
      "build:client-and-server-bundles": "ng build --prod &amp;&amp; ng run my-app:server",
      "webpack:server": "webpack --config webpack.server.config.js --progress --colors",
      "serve": "node server.js"
  </code></pre>
  
  <p>I tried deleting the <code>node_modules</code> folder but I get the same error again. How to fix this?</p>