下载安装报错
-- 按照教程安装,输入 "chimee-mobile-player --save" 后,一直不能安装完成。出现以下错误: `
npm install chimee-mobile-player --save (node:16332) ExperimentalWarning: The fs.promises API is experimental npm WARN using --force Recommended protections disabled. npm ERR! code 1 npm ERR! git dep preparation failed npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/mac/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit npm ERR! (node:16381) ExperimentalWarning: The fs.promises API is experimental npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm ERR! code ENOTFOUND npm ERR! npm ERR! syscall getaddrinfo npm ERR! npm ERR! errno ENOTFOUND npm ERR! npm ERR! network request to http://artifactory.intra.xiaojukeji.com:80/artifactory/api/npm/npm/xtend/-/xtend-4.0.1.tgz failed, reason: getaddrinfo ENOTFOUND artifactory.intra.xiaojukeji.com artifactory.intra.xiaojukeji.com:80 npm ERR! npm ERR! network This is a problem related to network connectivity. npm ERR! npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! npm ERR! network npm ERR! npm ERR! network If you are behind a proxy, please make sure that the npm ERR! npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! npm ERR! /Users/mac/.npm/_logs/2021-04-23T08_54_07_387Z-debug.log
npm ERR! A complete log of this run can be found in: npm ERR! /Users/mac/.npm/_logs/2021-04-23T08_54_07_794Z-debug.log
`
另外我发现这个地址 "http://artifactory.intra.xiaojukeji.com:80/artifactory/api/npm/npm/xtend/-/xtend-4.0.1.tgz" 是不存在的。该地址最终会出现一个下载APP的网页。见下图

目前的解决办法是把整个项目down下来,然后npm 本地安装完成。但是为什么会是这样的呢?
无法复现。这个地址和我们项目没有关系。是不是有代理之类的问题
我丢,360 这个公司真是这么恶心么,发布的什么包。 我司有人用了这个包,项目一直运行不起来。特么下载量个位数的包都敢用。真是防御性编程的典范。