question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cnpm link 会使用到 npm link, 而 npm link 会去走一遍 npm install 依赖一多, 一般都会报错(在用 cnpm i 安装好的目录跑 npm i)

虽然知道解决办法是

cnpm i npminstall -g

## link to global
npmlink

## use some link
npmlink some-lib

但是这个真的没法和新人解释啊! 一会带空格, 一会不带空格 😂 为啥 cnpm 只拦截了 install 命令, npminstall 包还应该支持 uninstall / link / update

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
alsotangcommented, Sep 3, 2019
1reaction
alsotangcommented, Aug 23, 2019

为了避免各种兼容性问题,腾讯内部的tnpm直接基于官方npm封装的。

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cnpm NPM - npm.io
Support all commands just like npm . Sync packages from npm. cnpm sync [moduleName]. Open package document or git web ...
Read more >
cnpm - npm
Support all commands just like npm . Sync packages from npm. cnpm sync [moduleName]. Open package document or git web url.
Read more >
README.md - GitHub
Customized client: we provide a client cnpm to extend npm with more features( sync command, gzip support). And it is easy to wrap...
Read more >
Certificate in Nonprofit Management (CNPM) - SOU Academic ...
Certificate in Nonprofit Management (CNPM). Offered as an Academic Certification. This degree program offers a 100% online option.
Read more >
cnpm - npm Package Health Analysis - Snyk
Support all commands just like npm . Sync packages from npm. cnpm sync [moduleName]. Open package document or git web url. cnpm doc...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found