当我尝试时
ng new project
我得到下面的错误。我做错了什么?
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:WINDOWSsystem32app2node_modules.stagingis-finite-6beb745cpackage.json'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingis-fullwidth-code-point-7dbf9fe0package.json'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingis-fullwidth-code-point-7dbf9fe0index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingis-finite-6beb745cindex.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingis-fullwidth-code-point-7dbf9fe0license'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingis-finite-6beb745clicense'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingis-fullwidth-code-point-7dbf9fe0readme.md'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingis-finite-6beb745creadme.md'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingwordwrap-57a51fb5testbreak.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingwordwrap-57a51fb5testwrap.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingwordwrap-57a51fb5testidleness.txt'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.staging@angularrouter-a28d1a63testingsrcrouter_testing_module.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.staging@angularrouter-a28d1a63testingsrctesting.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.staging@angularcommon-c9211700esm5testingindex.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.staging@angularrouter-a28d1a63testingtesting.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.staging@angularcommon-c9211700esm5testingpublic_api.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.staging@angularrouter-a28d1a63testingtesting.metadata.json'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatamodal_dialogsmodal_1.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatamodal_dialogsmodal_2.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatamodal_dialogsmodal_3.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatamodal_dialogsmodalindex.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingparse5-90457661libsaxdev_null_stream.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingparse5-90457661libsaxindex.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingparse5-90457661libsaxparser_feedback_simulator.js'
npm WARN tar ENOENT: no such file or directory, lstat 'C:WINDOWSsystem32app2node_modules.stagingparse5-90457661lib'
npm WARN tar ENOENT: no such file or directory, lstat 'C:WINDOWSsystem32app2node_modules.staging@angularcore-fa556c93esm2015srcrender3'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingless-3b8a7070testbrowserlessmodify-varsimportssimple2.less'
npm WARN tar ENOENT: no such file or directory, lstat 'C:WINDOWSsystem32app2node_modules.staging@angularcore-fa556c93esm2015'
npm WARN tar ENOENT: no such file or directory, lstat 'C:WINDOWSsystem32app2node_modules.stagingless-3b8a7070testbrowser'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_iframes.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen.css'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_frame1.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_frame2.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_frames.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_too_long.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_x_long.html'
npm WARN tar ENOENT: no such file or directory, lstat 'C:WINDOWSsystem32app2node_modules.stagingresolve-e8cba080testresolverbiznode_modulesgarplylib'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_x_too_long.html'
npm WARN tar ENOENT: no such file or directory, lstat 'C:WINDOWSsystem32app2node_modules.stagingless-3b8a7070testbrowserlesspostProcessor'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_y_long.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascreenscreen_y_too_long.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascroll.html'
npm WARN tar ENOENT: no such file or directory, lstat 'C:WINDOWSsystem32app2node_modules.stagingresolve-e8cba080testresolver'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascroll2.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascroll3.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascroll4.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingselenium-webdriver-5349665alibtestdatascroll5.html'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayconcat.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayindex-of.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayjoin.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarraykeys.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayincludes.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarraymap.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayof.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597_esm2015internalutilArgumentOutOfRangeError.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayevery.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597_esm2015internalutilcanReportError.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarraysplice.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597_esm2015internalutilcanReportError.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayentries.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597_esm2015internalutilEmptyError.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayunshift.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarraycopy-within.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597_esm2015internalutilEmptyError.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingbabel-runtime-ccf3acdacore-jsarrayvalues.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597_esm2015internalutilerrorObject.js'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.staging@angularcommon-c9211700srcpipesdeprecatedintl.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsconcatAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsconcatMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsconcatMapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorscount.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdebounce.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdebounceTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdefaultIfEmpty.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdelay.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdelayWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdematerialize.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdistinct.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdistinctUntilChanged.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsdistinctUntilKeyChanged.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorselementAt.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsendWith.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsevery.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsexhaust.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsexhaustMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsexpand.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsfilter.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsfinalize.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsfind.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsfindIndex.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsfirst.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsgroupBy.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsignoreElements.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsindex.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsisEmpty.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorslast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmaterialize.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmax.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmerge.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmergeAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmergeMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmergeMapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmergeScan.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmin.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsmulticast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsobserveOn.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsonErrorResumeNext.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorspairwise.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorspartition.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorspluck.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorspublish.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorspublishBehavior.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorspublishLast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorspublishReplay.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsrace.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsreduce.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsrefCount.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsrepeat.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsrepeatWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsretry.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsretryWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorssample.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorssampleTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsscan.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorssequenceEqual.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsshare.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsshareReplay.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorssingle.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsskip.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsskipLast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsskipUntil.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsskipWhile.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsstartWith.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorssubscribeOn.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsswitchAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsswitchMap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsswitchMapTo.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstake.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstakeLast.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstakeUntil.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstakeWhile.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstap.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsthrottle.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsthrottleTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorsthrowIfEmpty.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstimeInterval.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstimeout.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstimeoutWith.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstimestamp.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorstoArray.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorswindow.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorswindowCount.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorswindowTime.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorswindowToggle.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorswindowWhen.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorswithLatestFrom.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorszip.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternaloperatorszipAll.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternalOuterSubscriber.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternalReplaySubject.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternalRx.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:WINDOWSsystem32app2node_modules.stagingrxjs-c92c8597srcinternalScheduler.ts'
npm ERR! path C:WINDOWSsystem32app2node_modules.staging@angularcompiler-2eab7a39bundlescompiler.umd.js.map
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:WINDOWSsystem32app2node_modules.staging@angularcompiler-2eab7a39bundlescompiler.umd.js.map'
npm ERR! { [Error: EPERM: operation not permitted, unlink 'C:WINDOWSsystem32app2node_modules.staging@angularcompiler-2eab7a39bundlescompiler.umd.js.map']
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:WINDOWSsystem32app2node_modules.staging@angularcompiler-2eab7a39bundlescompiler.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!此运行的完整日志可在以下位置找到:npm ERR!C: \Users\Chirag\AppData\Roaming\npm-cache_logs\2018-12-08T11_52_10_677Z-debug.log程序包安装失败,请参阅上文
简单地说。。不要试图在中创建应用程序或任何东西
C:WINDOWSsystem32
因此节点无法访问该路径。在当前用户具有写访问权限的另一个分区上选择windows用户文件夹或repo路径
解决了此错误。不得不四处寻找解决方法。将我的npm从6.4.1降级到5.3.0,强制清理缓存,然后运行"ng new"命令。谢谢大家的帮助。
我也有同样的问题,但我通过以下步骤解决了它:
npm install@angular/compiler-g
npm全局安装依赖程序包
虽然我已经解决了这个问题,但我不知道真正的原因。
在Linux系统中,这不是必须的。