1

When I try

ng new project

I get the errors below. What am I doing wrong?

npm WARN tarball tarball data for @angular/compiler@~7.1.0 (sha512-ua6Wh+c5XzxAeJT6guwAFYnwa1XzJpncppUrceRXIS9VAn9X7ApxRr45DvbVeYwXBb1iNdHWtZFm1koFVQpydA==) seems to be corrupted. Trying one more time.***
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-finite-6beb745c\package.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-fullwidth-code-point-7dbf9fe0\package.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-fullwidth-code-point-7dbf9fe0\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-finite-6beb745c\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-fullwidth-code-point-7dbf9fe0\license'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-finite-6beb745c\license'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-fullwidth-code-point-7dbf9fe0\readme.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\is-finite-6beb745c\readme.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\wordwrap-57a51fb5\test\break.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\wordwrap-57a51fb5\test\wrap.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\wordwrap-57a51fb5\test\idleness.txt'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\router-a28d1a63\testing\src\router_testing_module.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\router-a28d1a63\testing\src\testing.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\common-c9211700\esm5\testing\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\router-a28d1a63\testing\testing.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\common-c9211700\esm5\testing\public_api.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\router-a28d1a63\testing\testing.metadata.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\modal_dialogs\modal_1.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\modal_dialogs\modal_2.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\modal_dialogs\modal_3.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\modal_dialogs\modalindex.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\parse5-90457661\lib\sax\dev_null_stream.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\parse5-90457661\lib\sax\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\parse5-90457661\lib\sax\parser_feedback_simulator.js'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\WINDOWS\system32\app2\node_modules\.staging\parse5-90457661\lib'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\core-fa556c93\esm2015\src\render3'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\less-3b8a7070\test\browser\less\modify-vars\imports\simple2.less'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\core-fa556c93\esm2015'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\WINDOWS\system32\app2\node_modules\.staging\less-3b8a7070\test\browser'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_iframes.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen.css'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_frame1.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_frame2.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_frames.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_too_long.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_x_long.html'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\WINDOWS\system32\app2\node_modules\.staging\resolve-e8cba080\test\resolver\biz\node_modules\garply\lib'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_x_too_long.html'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\WINDOWS\system32\app2\node_modules\.staging\less-3b8a7070\test\browser\less\postProcessor'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_y_long.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\screen\screen_y_too_long.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\scroll.html'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\WINDOWS\system32\app2\node_modules\.staging\resolve-e8cba080\test\resolver'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\scroll2.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\scroll3.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\scroll4.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\selenium-webdriver-5349665a\lib\test\data\scroll5.html'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\concat.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\index-of.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\join.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\keys.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\includes.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\map.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\of.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\_esm2015\internal\util\ArgumentOutOfRangeError.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\every.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\_esm2015\internal\util\canReportError.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\splice.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\_esm2015\internal\util\canReportError.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\entries.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\_esm2015\internal\util\EmptyError.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\unshift.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\copy-within.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\_esm2015\internal\util\EmptyError.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\babel-runtime-ccf3acda\core-js\array\values.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\_esm2015\internal\util\errorObject.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\common-c9211700\src\pipes\deprecated\intl.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\concatAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\concatMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\concatMapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\count.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\debounce.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\debounceTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\defaultIfEmpty.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\delay.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\delayWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\dematerialize.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\distinct.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\distinctUntilChanged.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\distinctUntilKeyChanged.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\elementAt.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\endWith.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\every.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\exhaust.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\exhaustMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\expand.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\filter.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\finalize.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\find.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\findIndex.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\first.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\groupBy.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\ignoreElements.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\index.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\isEmpty.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\last.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\map.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\mapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\materialize.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\max.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\merge.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\mergeAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\mergeMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\mergeMapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\mergeScan.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\min.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\multicast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\observeOn.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\onErrorResumeNext.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\pairwise.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\partition.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\pluck.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\publish.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\publishBehavior.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\publishLast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\publishReplay.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\race.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\reduce.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\refCount.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\repeat.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\repeatWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\retry.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\retryWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\sample.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\sampleTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\scan.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\sequenceEqual.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\share.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\shareReplay.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\single.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\skip.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\skipLast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\skipUntil.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\skipWhile.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\startWith.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\subscribeOn.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\switchAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\switchMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\switchMapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\take.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\takeLast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\takeUntil.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\takeWhile.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\tap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\throttle.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\throttleTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\throwIfEmpty.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\timeInterval.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\timeout.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\timeoutWith.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\timestamp.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\toArray.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\window.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\windowCount.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\windowTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\windowToggle.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\windowWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\withLatestFrom.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\zip.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\operators\zipAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\OuterSubscriber.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\ReplaySubject.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\Rx.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\WINDOWS\system32\app2\node_modules\.staging\rxjs-c92c8597\src\internal\Scheduler.ts'
npm ERR! path C:\WINDOWS\system32\app2\node_modules\.staging\@angular\compiler-2eab7a39\bundles\compiler.umd.js.map
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\compiler-2eab7a39\bundles\compiler.umd.js.map'
npm ERR!  { [Error: EPERM: operation not permitted, unlink 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\compiler-2eab7a39\bundles\compiler.umd.js.map']
npm ERR!   cause:
npm ERR!    { Error: EPERM: operation not permitted, unlink 'C:\WINDOWS\system32\app2\node_modules\.staging\@angular\compiler-2eab7a39\bundles\compiler.umd.js.map'
npm ERR!      errno: -4048,
npm ERR!      code: 'EPERM',
npm ERR!      syscall: 'unlink',
npm ERR!      path:
npm ERR!       'C:\\WINDOWS\\system32\\app2\\node_modules\\.staging\\@angular\\compiler-2eab7a39\\bundles\\compiler.umd.js.map' },
npm ERR!   stack:
npm ERR!    'Error: EPERM: operation not permitted, unlink \'C:\\WINDOWS\\system32\\app2\\node_modules\\.staging\\@angular\\compiler-2eab7a39\\bundles\\compiler.umd.js.map\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'unlink',
npm ERR!   path:
npm ERR!    'C:\\WINDOWS\\system32\\app2\\node_modules\\.staging\\@angular\\compiler-2eab7a39\\bundles\\compiler.umd.js.map',
npm ERR!   parent: 'app2' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Chirag\AppData\Roaming\npm-cache_logs\2018-12-08T11_52_10_677Z-debug.log Package install failed, see above.

SSK
  • 3,444
  • 6
  • 32
  • 59
Chirag
  • 181
  • 2
  • 8
  • It seems to be related to this issue here: [https://github.com/angular/angular/issues/23931](https://github.com/angular/angular/issues/23931) – Johan Rin Dec 08 '18 at 12:18

3 Answers3

1

simply saying .. don't try to create apps or anything in

C:\WINDOWS\system32

so node can't access to that path . select windows user folder or a repo path on another partition that the current user have write access

H-a-Neo
  • 152
  • 7
  • I did create a directory on my desktop and used that path to create a new project... still the same errors (And also a circularjson deprecated warning. flatted is its successor) – Chirag Dec 09 '18 at 05:41
  • can you please update your node and check if it still occurred. if so please create a repo to further examine – H-a-Neo Dec 09 '18 at 06:09
  • updating my node didn't work [I used 'npm install -g npm-windows-upgrade npm-windows-upgrade']. this error is still persistent, annoyingly so, {npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor. npm WARN tarball tarball data for @angular/compiler@~7.1.0 (sha512-ua6Wh+c5XzxAeJT6guwAFYnwa1XzJpncppUrceRXIS9VAn9X7ApxRr45DvbVeYwXBb1iNdHWtZFm1koFVQpydA==) seems to be corrupted. Trying one more time.} – Chirag Dec 09 '18 at 07:20
  • Most of my following errors are ENOENT type with tarball exceptions. {And could you tell me how to create a repo for further exmination. I am new here} – Chirag Dec 09 '18 at 07:21
  • Create a GitHub account and Create a new repository. then follow the slandered git commands to push your source code to the git repository and paste the link in here. also please state your development environment details as well . More info https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ – H-a-Neo Dec 09 '18 at 13:12
1

Resolved this error. Had to go around-about way to resolve it. Downgraded my npm from 6.4.1 to 5.3.0, force cleaned cache and then ran the 'ng new' command. Thanks for all your help everyone.

Chirag
  • 181
  • 2
  • 8
0

I have the same issue, but I resolve it through the following step:

npm install @angular/compiler -g

npm install the dependent package globally

although I have resolved this issue, I don't know true reason.

in a Linux system, this is not must.

Jack loner
  • 11
  • 3