CNode

发布npm包一直报错,求解决急。。谢谢辣

问答
Ppetitspois发布于10 年前最后回复10 年前5 回复6019 浏览0 收藏

untitled3.png

untitled4.png

untitled5.png

//package.json

{
  "name": "gulp-file-velocity",
  "version": "0.0.1",
  "description": "a gulp plugin for file include",
  "main": "lib/index.js",
  "scripts": {
    "test": "mocha -R spec -t 200 test/*.js",
    "test-cov": "istanbul cover node_modules/.bin/_mocha -- -R dot -t 200 test/*.js",
    "test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R dot -t 200 test/*.js",
    "jscs": "jscs lib && jscs test"
  },
  "repository": "petitspois/gulp-velocity",
  "keywords": [
    "gulpplugin",
    "file",
    "include",
    "replace",
    "gulp",
    "plugin"
  ],
  "files": [
    "lib"
  ],
  "author": "damon",
  "license": "MIT",
  "devDependencies": {
    "gulp": "3",
    "istanbul": "0",
    "markdown": "0",
    "mocha": "2",
    "should": "7"
  },
  "dependencies": {
    "balanced-match": "^0.2.1",
    "concat-stream": "^1.5.1",
    "extend": "^3.0.0",
    "flatnest": "^1.0.0",
    "gulp-util": "^3.0.7",
    "through2": "^2.0.0"
  }
}

查看回复

回复 (5)

F
fengmk2#1·10 年前

全局默认npm registry设置成淘宝npm了? 自豪地采用 CNodeJS ionic

W
wyvernnot#3·10 年前

1 楼正解

I
i5ting#4·10 年前
引用 wyvernnot1 楼正解

@wyvernnot 有必要写个npm,执行npm publish 先把registry重置了

F
fengmk2#5·10 年前

最好是安装cnpm,然后保持npm不变 自豪地采用 CNodeJS ionic

参与回复
登录后即可参与回复。登录