Comments (3)
try
nrm add @dxx https://cnpm.xxx.com:8888
from nrm.
@baixiaoji 好像还是做不到,添加后,use @dxx,只能做到
registry=https://cnpm.xxx.com:8888/
而我希望的是只有@dxx的scope走这个,其他的走默认
from nrm.
@baixiaoji 好像还是做不到,添加后,use @dxx,只能做到
registry=https://cnpm.xxx.com:8888/
而我希望的是只有@dxx的scope走这个,其他的走默认
这个可能你需要自己去写后续分流的处理逻辑了,nrm的目的只是帮你管理registry的作用。但是我理解中你是自己搭建了一个cnpm。你使用nrm设置里全局的register为你的@scope 的cnpm地址,如有有@scope就找到了,但是没有的话cnpm会有溯源机制,去找到npm的那里的。而这一块你需要查查cnpm文档有没有对应的设置。
from nrm.
Related Issues (20)
- node version v16.18.0 ERROR: ERR_REQUIRE_ESM HOT 13
- 在nvm中初次的安装中可以,切换node版本安装就不行了 HOT 2
- what happen for this case HOT 5
- Command error HOT 2
- require() of ES modules is not supported. HOT 8
- [BUG] Tencent npm mirror may have unexpected behavior
- Node.js v18.15.0 require语法不支持 HOT 13
- throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath); HOT 10
- 关于报错的问题throw new ERR_REQUIRE_ESM、const open = require('open')、node 升级到18.xx.xx后包错的问题解决 HOT 9
- nodejs 20上面無法使用 HOT 6
- 低版本和高版本都都报错 HOT 1
- 这个项目当前还能发布新版吗? HOT 2
- 确认一下最新的npm源列表
- 加上ci HOT 1
- 各种badge缺失的还比较多
- nrm ls 输出taobao undefined HOT 5
- nrm test 命令测试工具不支持 IPv6
- unknown command 'publish' HOT 1
- nrm ls发现 npm ---------- undefined
- run command:nrm ls, then error occurrenced HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nrm.