1

我在我的机器上的目录中安装了节点模块 kappa,kappa-server如下所述:https ://github.com/xjamundx/kappa/tree/patch-1#quickstart

我的 config.json 看起来:

{
    "servers": [
        {
            "host": "localhost",
            "port": 8000
        }
    ],
    "plugins": {
        "kappa": {
            "paths": [
                "https://registry.npmjs.org/"
            ]
        }
    }
}

如果我 curl 命令进行验证:http://localhost:8000/-/all 它显示: {"statusCode":404,"error":"Not Found"}

我现在必须将自己的存储库放在哪个目录中,从我自己的本地 npm 存储库克隆存储库的命令是什么?我找不到答案。

4

1 回答 1

3

我必须先安装一个真正的 npm 存储库。像 reggie 或 npmjs.org

于 2014-03-20T20:45:01.883 回答