Comments (7)
呃,npm不存在?
from cnpm.
你的是 /Users/alsotang/.nvm/versions/node/v0.12.0/bin/node ,不是 1.6.3 啊
from cnpm.
我是能安装成功的
from cnpm.
👿 npm install cnpm --registry=https://registry.npm.taobao.org
[email protected] node_modules/cnpm
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected]
from cnpm.
呃。。现在又好了。我重新梳理了一下这个报错信息。
npm ERR! notarget No compatible version found: npm@'>=2.7.0 <2.8.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["2.5.1","2.5.0","2.4.1","2.4.0","2.3.0","2.1.18","2.2.0","2.1.17","2.1.16","2.1.15","2.1.14","2.1.13","2.1.12","2.1.11","2.1.10","2.1.9","2.1.8","2.1.7","2.1.6","2.1.5","2.1.4","2.1.3","2.1.2","2.1.1","2.1.0","2.0.2","2.0.1","2.0.0","1.4.28","2.0.0-beta.3","1.4.27","2.0.0-beta.2","1.4.26","2.0.0-beta.1","1.4.25","2.0.0-beta.0","2.0.0-alpha.7","2.0.0-alpha.6","1.4.24","2.0.0-alpha.6.0","1.4.23","1.4.22","2.0.0-alpha-5","1.5.0-alpha-4","1.5.0-alpha-3","1.4.21","1.5.0-alpha-2","1.4.20","1.5.0-alpha-1","1.5.0-alpha-0","1.4.19","1.4.18","1.4.17","1.2.8000","1.4.16","1.4.15","1.4.14","1.4.13","1.4.12","1.4.11","1.4.10","1.4.9","1.4.8","1.3.21","1.2.23","1.4.7","1.4.0","1.3.12","1.4.6","1.4.4","1.3.24","1.3.23","1.3.20","1.3.17","1.3.14","1.3.11","1.3.7","1.2.30","1.2.28","1.2.27","1.2.25","1.4.5","1.4.3","1.4.2","1.4.1","1.3.26","1.3.25","1.3.22","1.3.18","1.3.16","1.3.15","1.3.13","1.3.10","1.3.9","1.3.8","1.3.6","1.3.5","1.1.71","1.1.70","1.2.19","1.3.1","1.3.0","1.2.31","1.2.24","1.2.22","1.2.21","1.2.20","1.3.4","1.3.2","1.2.32","1.1.25"]
说的是 cnpm 依赖 2.7.x
,但是在 registry 上面最多只有 2.5.1 的版本...不知道类似的问题发生过没有。
虽然报错是给的 0.12 的报错,但是我当时确实在 0.12 和 1.6 上面都出现了这个错误。
from cnpm.
但是 cnpm 上一直有 2.7.x 的版本的。。。要不然也不会发布 cnpm 的更新。。。
from cnpm.
diluka@Diluka-Z7:~$ npm install -g cnpm --registry=https://registry.npm.taobao.org
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser
npm ERR! dest /home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser' -> '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'
npm ERR! [OperationalError: EACCES: permission denied, rename '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser' -> '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'] {
npm ERR! cause: [Error: EACCES: permission denied, rename '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser' -> '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser',
npm ERR! dest: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'
npm ERR! },
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rename',
npm ERR! path: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser',
npm ERR! dest: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb',
npm ERR! parent: 'cnpm'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/diluka/.npm/_logs/2020-09-10T16_21_01_624Z-debug.log
from cnpm.
Related Issues (20)
- npmmirror的node镜像缺少SHASUMS256文件 HOT 2
- cnpm cli show the url which is now 404
- cnpm does not recognize global prefix? HOT 1
- Feature request: add a command to list recent updated packages HOT 3
- nvm管理node版本,使用node14.21.0安装cnpm报“operation not permitted, rename” 指定@8没问题 HOT 3
- 使用npm node14.18.0版本全局安装cnpm报错 HOT 3
- [QUESTION]download Error: queryA ETIMEOUT registry.npmjs.org, fail count: 1
- cnpm@7版本无缘无故修改了版本号,没有按照package.json的文件中的版本号走 HOT 4
- 同步日志接口需要更新
- cnpm run报错 HOT 1
- 如何兼容 存在幽灵依赖的项目? HOT 1
- poi 的二进制镜像的 exe 文件未被同步 HOT 4
- Prisma 的二进制镜像 404 HOT 10
- SSL证书过期,望周知 HOT 11
- npm.taobao.org cert has expired !!!! HOT 1
- ssl证书过期:https://registry.npm.taobao.org/ HOT 1
- https://cdn.npmmirror.com/binaries/chromedriver 无法访问 HOT 1
- [功能需求]支持跨域 HOT 2
- 下载node-sass包404 HOT 4
- npm registry TLS certificate expired 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 cnpm.