title: could not run an angular 2 application in VS 2015
body: <p>I want to create an environment on VS 2015 using angular2. when I type&quot;npm start&quot; then I found an error below. I also use &quot;npm cache clean --force &quot; before type&quot;npm start&quot; but found the same error.seems to be I found a similar answer to this problem&quot; <a href="https://stackoverflow.com/questions/43600838/failed-at-the-angular-quickstart1-0-0-build-script-tsc-p-src/43600902#43600902%22">https://stackoverflow.com/questions/43600838/failed-at-the-angular-quickstart1-0-0-build-script-tsc-p-src/43600902#43600902&quot;</a> but here I did not understand where should I changed to solving it.</p>
  <pre><code>C:\Users\Hp&gt;cd c:\Users\Hp\Desktop\angular\Angular3Demo\Angular3Demo
  
  c:\Users\Hp\Desktop\angular\Angular3Demo\Angular3Demo&gt;npm start
  
  &gt; angular-quickstart@1.0.0 prestart c:\Users\Hp\Desktop\angular\Angular3Demo\Angular3Demo
  &gt; npm run build
  
  
  &gt; angular-quickstart@1.0.0 build c:\Users\Hp\Desktop\angular\Angular3Demo\Angular3Demo
  &gt; tsc -p src/
  
  node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax.
  npm ERR! code ELIFECYCLE
  npm ERR! errno 2
  npm ERR! angular-quickstart@1.0.0 build: `tsc -p src/`
  npm ERR! Exit status 2
  npm ERR!
  npm ERR! Failed at the angular-quickstart@1.0.0 build script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Hp\AppData\Roaming\npm-cache\_logs\2020-09-25T20_05_32_810Z-debug.log
  npm ERR! code ELIFECYCLE
  npm ERR! errno 2
  npm ERR! angular-quickstart@1.0.0 prestart: `npm run build`
  npm ERR! Exit status 2
  npm ERR!
  npm ERR! Failed at the angular-quickstart@1.0.0 prestart script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Hp\AppData\Roaming\npm-cache\_logs\2020-09-25T20_05_32_902Z-debug.log
  
  c:\Users\Hp\Desktop\angular\Angular3Demo\Angular3Demo&gt;
  
  </code></pre>
  <p>Package.json</p>
  <pre><code>{
    &quot;name&quot;: &quot;angular-quickstart&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;QuickStart package.json from the documentation, supplemented with testing support&quot;,
    &quot;scripts&quot;: {
      &quot;build&quot;: &quot;tsc -p src/&quot;,
      &quot;build:watch&quot;: &quot;tsc -p src/ -w&quot;,
      &quot;build:e2e&quot;: &quot;tsc -p e2e/&quot;,
      &quot;serve&quot;: &quot;lite-server -c=bs-config.json&quot;,
      &quot;serve:e2e&quot;: &quot;lite-server -c=bs-config.e2e.json&quot;,
      &quot;prestart&quot;: &quot;npm run build&quot;,
      &quot;start&quot;: &quot;concurrently \&quot;npm run build:watch\&quot; \&quot;npm run serve\&quot;&quot;,
      &quot;pree2e&quot;: &quot;npm run build:e2e&quot;,
      &quot;e2e&quot;: &quot;concurrently \&quot;npm run serve:e2e\&quot; \&quot;npm run protractor\&quot; --kill-others --success first&quot;,
      &quot;preprotractor&quot;: &quot;webdriver-manager update&quot;,
      &quot;protractor&quot;: &quot;protractor protractor.config.js&quot;,
      &quot;pretest&quot;: &quot;npm run build&quot;,
      &quot;test&quot;: &quot;concurrently \&quot;npm run build:watch\&quot; \&quot;karma start karma.conf.js\&quot;&quot;,
      &quot;pretest:once&quot;: &quot;npm run build&quot;,
      &quot;test:once&quot;: &quot;karma start karma.conf.js --single-run&quot;,
      &quot;lint&quot;: &quot;tslint ./src/**/*.ts -t verbose&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;dependencies&quot;: {
      &quot;@angular/common&quot;: &quot;~4.3.4&quot;,
      &quot;@angular/compiler&quot;: &quot;~4.3.4&quot;,
      &quot;@angular/core&quot;: &quot;~4.3.4&quot;,
      &quot;@angular/forms&quot;: &quot;~4.3.4&quot;,
      &quot;@angular/http&quot;: &quot;~4.3.4&quot;,
      &quot;@angular/platform-browser&quot;: &quot;~4.3.4&quot;,
      &quot;@angular/platform-browser-dynamic&quot;: &quot;~4.3.4&quot;,
      &quot;@angular/router&quot;: &quot;~4.3.4&quot;,
      &quot;angular-in-memory-web-api&quot;: &quot;~0.3.0&quot;,
      &quot;systemjs&quot;: &quot;0.19.40&quot;,
      &quot;core-js&quot;: &quot;^2.4.1&quot;,
      &quot;rxjs&quot;: &quot;5.0.1&quot;,
      &quot;zone.js&quot;: &quot;^0.8.4&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;concurrently&quot;: &quot;^3.2.0&quot;,
      &quot;lite-server&quot;: &quot;^2.2.2&quot;,
      &quot;typescript&quot;: &quot;~2.1.0&quot;,
      &quot;canonical-path&quot;: &quot;0.0.2&quot;,
      &quot;tslint&quot;: &quot;^3.15.1&quot;,
      &quot;lodash&quot;: &quot;^4.16.4&quot;,
      &quot;jasmine-core&quot;: &quot;~2.4.1&quot;,
      &quot;karma&quot;: &quot;^1.3.0&quot;,
      &quot;karma-chrome-launcher&quot;: &quot;^2.0.0&quot;,
      &quot;karma-cli&quot;: &quot;^1.0.1&quot;,
      &quot;karma-jasmine&quot;: &quot;^1.0.2&quot;,
      &quot;karma-jasmine-html-reporter&quot;: &quot;^0.2.2&quot;,
      &quot;protractor&quot;: &quot;~4.0.14&quot;,
      &quot;rimraf&quot;: &quot;^2.5.4&quot;,
      &quot;@types/node&quot;: &quot;^6.0.46&quot;,
      &quot;@types/jasmine&quot;: &quot;2.5.36&quot;
    },
    &quot;repository&quot;: {}
  }
  
  </code></pre>
  <p>I am a beginner, please help.</p>