当前位置: 首页 > wzjs >正文

网站开发 需要用到什么软件ui网页设计字体

网站开发 需要用到什么软件,ui网页设计字体,怎么编网站,四川设计公司一、判断包来源是否正确 1. 检查url curl <registry_url>2. 查看包是否存在 npm view <package_name> --registry<registry_url>二、局部registry配置步骤&#xff1a; 1. 全局配置 如果你希望对所有项目生效&#xff0c;可以将这行配置添加到全局.npmr…

一、判断包来源是否正确

1. 检查url

curl <registry_url>

2. 查看包是否存在

npm view <package_name> --registry=<registry_url>

二、局部registry配置步骤:

1. 全局配置

如果你希望对所有项目生效,可以将这行配置添加到全局.npmrc 文件中。全局 .npmrc文件通常位于以下路径:

  • Windows: C:\Users\<YourUsername>\.npmrc

添加内容:

@sdp.nd:registry=http://registry.npm.sdp.nd

2. 项目级配置

如果你只希望对当前项目生效,可以在项目根目录下创建或编辑 .npmrc 文件(与 package.json同级)。

添加内容:

@sdp.nd:registry=http://registry.npm.sdp.nd

3. 验证配置

配置完成后,可以运行以下命令验证:

npm config get @sdp.nd:registry

如果输出为 http://registry.npm.sdp.nd,说明配置成功。

4. 登录私有仓库(如果需要)

如果私有仓库需要身份验证,运行以下命令登录:

npm login --registry=http://registry.npm.sdp.nd --scope=@sdp.nd

输入用户名、密码和邮箱完成登录。


三、安装该SDK

执行以下命令,可以看到所有@sdp.nd的包从http://registry.npm.sdp.nd下载,其它包则从全局默认的registry下载

npm install --verbose

$ npm install --verbose
npm verb cli D:\node\node.exe D:\node\node_modules\npm\bin\npm-cli.js
npm info using npm@10.2.4
npm info using node@v20.11.0
npm verb title npm install
npm verb argv “install” “–loglevel” “verbose”
npm verb logfile logs-max:10 dir:C:\Users\Administrator\AppData\Local\npm-cache_logs\2025-03-29T12_55_13_064Z-
npm verb logfile C:\Users\Administrator\AppData\Local\npm-cache_logs\2025-03-29T12_55_13_064Z-debug-0.log
npm http fetch GET 200 http://registry.npm.sdp.nd/@sdp.nd%2fnd-uc-sdk 170ms (cache revalidated)
npm http fetch GET 200 http://registry.npm.sdp.nd/@sdp.nd%2frequest-adapter-waf 66ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/crypto-js 836ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/nd-base64 849ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/lodash 987ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/nd-md5s 1054ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/@babel%2fruntime 1061ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/nd-datetime 1120ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/nd-uri-parser 1322ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/@gem-mine%2frequest 1441ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/axios 259ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/regenerator-runtime 275ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/@gem-mine%2frequest-adapter-xhr 546ms (cache updated)
npm http fetch GET 200 https://registry.npmjs.org/follow-redirects 263ms (cache updated)
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 295ms
npm http fetch GET 200 http://registry.npm.sdp.nd/@sdp.nd/nd-uc-sdk/download/@sdp.nd/nd-uc-sdk-1.9.34.tgz 346ms (cache miss)

一般上述命令能够安装成功,如果不能,也可以下载包的.tgz文件到本地,运行如下安装命令即可:

npm install ./*.tgz --save
http://www.dtcms.com/wzjs/832553.html

相关文章:

  • 网站导航的作用百度58网络推广怎么做
  • 山东莱钢建设有限公司网站推广目标包括什么
  • 淘宝客购物网站源码沧州网站建设报价
  • 网站建设案例精粹微信网站建设和维护报价表
  • 网站分析百度具体的网站建设
  • 苏州信网网站建设技术有限公司wordpress怎么安装多说
  • 网站备案提交资料林州风景网站建设的目的
  • 手机微网站 模板乾安网站建设
  • wordpress网站接入qq重庆seo外包行者seo06
  • 帮别人做网站赚钱6南宁网站设计推广
  • 企业建站官网运营福建建设人才网
  • 贵州华瑞网站建设有限公司软件源码
  • 呼和浩特网站建设网络公司做时时网站要多少钱
  • 一学一做教育视频网站有哪些广州番禺网站制作公司哪家好
  • 电商设计素材网站有哪些优秀个人网站推荐
  • 网站建设福建临清建设网站
  • 网站首页设计收费网站首页没收录
  • 网站用户需求报告wordpress完整网址
  • 做自己的网站怎么购买空间网站这么做404页面
  • 做淘宝客需要那先网站wordpress主题升级文件
  • 龙岗网站建设网站制作南宁网站建设哪家公司
  • 做网站赚金币安卓开发基础教程
  • 网站导航栏如何优化海南省住房和城乡建设厅网站电脑版
  • 新加坡网站域名八度 网站建设
  • 网站建设的趋势网站建设公司话术
  • 有没有免费注册的网站中装建设
  • 泰安网站推广西安造价信息网官网
  • 手机版网站源码出口外贸网站
  • 微信小程序开发费用一览表游戏优化是什么意思?
  • 做网站的客户哪里找百度一下你就知道官网百度