title: Cannot find name 'process' angular 5
body: <p>After seeing all the answers, nothing helped me...</p>
  
  <p><strong>baseUrl.interceptor.ts</strong></p>
  
  <pre><code> intercept(req: HttpRequest&lt;any&gt;, next: HttpHandler): Observable&lt;HttpEvent&lt;any&gt;&gt; {
      let baseurl = process.env.baseurl || 'http://test.com/users';
      console.log(baseurl);
  
      return next.handle(req);
  }
  </code></pre>
  
  <p><strong>tsconfig.json</strong></p>
  
  <pre><code>"typeRoots": [
    "node_modules/@types"
  ]
  </code></pre>
  
  <p><strong>package.json</strong></p>
  
  <pre><code>"dependencies": {
      "@angular/animations": "^5.1.0",
      "@angular/common": "^5.1.0",
      "@angular/compiler": "^5.1.0",
      "@angular/core": "^5.1.0",
      "@angular/forms": "^5.1.0",
      "@angular/http": "^5.1.0",
      "@angular/platform-browser": "^5.1.0",
      "@angular/platform-browser-dynamic": "^5.1.0",
      "@angular/router": "^5.1.0",
  
    },
    "devDependencies": {
      "@angular/cli": "1.6.4",
      "@angular/compiler-cli": "^5.1.0",
      "@angular/language-service": "^5.1.0",
      "@types/jasmine": "~2.8.3",
      "@types/jasminewd2": "~2.0.2",
      "@types/node": "~6.0.60",
      "codelyzer": "^4.0.1",
      ...
      "ts-node": "~3.2.0",
      "tslint": "~5.9.1",
      "typescript": "~2.5.3"
    }
  </code></pre>
  
  <p>And an error below:
   <a href="https://i.stack.imgur.com/DwJ1j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DwJ1j.png" alt="enter image description here"></a></p>
  
  <p>Please, help me somebody...</p>