title: I am getting an ERROR when compiling Angular 6 project
body: <p>when starting my project <code>ng serve</code> i get this error.
  updated my ts and did not help.</p>
  <p>here is the error</p>
  <pre>
      ERROR in node_modules/@types/node/assert.d.ts(3,68): error TS1144: '{' or ';' expected.
      node_modules/@types/node/assert.d.ts(57,68): error TS1144: '{' or ';' expected.
      node_modules/@types/node/assert.d.ts(66,94): error TS1144: '{' or ';' expected.
      node_modules/@types/node/assert.d.ts(66,101): error TS1005: ';' expected.
      node_modules/@types/node/assert.d.ts(66,104): error TS1005: ';' expected.
      node_modules/@types/node/assert.d.ts(68,98): error TS1144: '{' or ';' expected.
      node_modules/@types/node/assert.d.ts(68,105): error TS1005: ';' expected.
      node_modules/@types/node/assert.d.ts(68,108): error TS1005: ';' expected.
      node_modules/@types/node/assert.d.ts(76,47): error TS1144: '{' or ';' expected.
      node_modules/@types/node/assert.d.ts(76,53): error TS1005: ';' expected.
      node_modules/@types/node/assert.d.ts(76,56): error TS1005: ';' expected.
      node_modules/@types/node/assert.d.ts(106,61): error TS1005: ';' expected.
      node_modules/@types/node/base.d.ts(10,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/base.d.ts(11,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/base.d.ts(12,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/base.d.ts(13,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.4/base.d.ts(10,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.4/base.d.ts(11,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.4/base.d.ts(12,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.4/base.d.ts(13,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.6/base.d.ts(10,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.6/base.d.ts(11,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.6/base.d.ts(12,1): error TS1084: Invalid 'reference' directive syntax.
      node_modules/@types/node/ts3.6/base.d.ts(13,1): error TS1084: Invalid 'reference' directive syntax.`
  
  </pre>