NPM WARN tar ENOENT: no such file or directory
npm install
npm WARN deprecated request@2.882.: request has been deprecated, see request/request#3142
npm WARN deprecated mkdirp@0.51.: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated @hapi/joi@16.18.: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated core-js@2.611.: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated har-validator@5.1. 5: this
npm WARN deprecated @hapi/address@2.14.: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/pinpoint@1.02.: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated intl-locales-supported@1.812.: bad publish
npm WARN deprecated chokidar@2.18.: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.213.: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated core-js@1.27.: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated resolve-url@0.21.: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1. 0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated @types/vfile-message@2.0. 0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
npm WARN tarball tarball data for typescript@^3.53. (sha1-mNYApevcOPQMsndSLxLcgA6eJfo=) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging\path-browserify-3b0bb9ce\test\test-path.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging\es-abstract-97c5d054\2020\SetIntegrityLevel.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging\es-abstract-ab25e7a0\2019\ToPropertyDescriptor.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging\parse5-b83ed148\lib\common\doctype.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging\es-abstract-97c5d054\helpers\setProto.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging\regenerate-unicode-properties-72a824af\General_Category\Modifier_Letter.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging\es-abstract-ab25e7a0\5\ToPropertyDescriptor.js'
...
...
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging@ant-design\icons-svg-18a53a75\lib\asn\InboxOutlined.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'E:\projects\test\ant\node_modules.staging@ant-design\icons-svg-18a53a75\es\index.d.ts'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\yangyang43\AppData\Roaming\npm-cache_logs\2020- 08- 24T08_54_04_848Z-debug.log
Copy the code
Other information
- The node version v12.18.3
- NPM version 6.14.6
- Image source: https://registry.npm.taobao.org/
- No proxy or domain binding is set
All the online methods,
-
npm cache clean -f
-
Delete. NPMRC
-
Delete the NPM – cache
-
Uninstall and reinstall the Node.
-
Degrade node, NPM
-
Change taobao mirror
All useless
Oh, my God. How do we fix this
Finally, use the yarn command:
npm install yarn -g
yarn install
Copy the code