Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install 报错 #23

Open
Makecodeeasy opened this issue Dec 8, 2021 · 0 comments
Open

npm install 报错 #23

Makecodeeasy opened this issue Dec 8, 2021 · 0 comments

Comments

@Makecodeeasy
Copy link

[root@centos7 actionview-fe]# npm install
npm WARN deprecated fs-promise@0.3.1: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated axios@0.7.0: Critical security vulnerability fixed in v0.21.1. For more information, see axios/axios#3410
npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated core-js@1.2.7: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
loadDep:kind-of -> afterA \ |##########################################---------------------------------------------------------------------------------------------------------------------------------------------------------------|
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
loadDep:@babel/runtime -> / |####################################################-----------------------------------------------------------------------------------------------------------------------------------------------------|
npm ERR! Linux 3.10.0-1127.19.1.el7.x86_64
npm ERR! argv "/root/soft/node-v4.2.6-linux-x64/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /root/soft/node-v4.2.6-linux-x64/lib/node_modules/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror http://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /data/actionview-fe/npm-debug.log

前端只会点皮毛,这个报错我搞了老半天,不知道怎么解决,还请懂得大佬帮忙看看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant