Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Error: Could not push document #275

@hehos

Description

@hehos

环境(environment):

  • centos7
  • nodejs v6.10.0
  • npm 3.10.10

run:

# npm start   --npm-registry-couchapp:couch=http://admin:password@localhost:5984/registry

error:

/home/npm-registry-couchapp/node_modules/couchapp/main.js:149
        throw new Error("Could not push document\nCode: " + resp.statusCode + "\n"+body);
        ^

Error: Could not push document
Code: 404
{"error":"not_found","reason":"Database does not exist."}

run:

npm run load \
>   --npm-registry-couchapp:couch=http://localhost:5984/registry

output state:

./load-views.sh: line 33: dig: command not found

run:

npm run copy \
>   --npm-registry-couchapp:couch=http://localhost:5984/registry

output state:

Did you already run the load-views.sh script? (type 'yes')
yes
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    41  100    41    0     0   7124      0 --:--:-- --:--:-- --:--:--  8200
{"ok":true,"ok":true,"id":"_design/app","rev":"1-34665355e46f685b08ce82f830a8f33b"}
curl: (3) <url> malformed
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    58  100    58    0     0   3571      0 --:--:-- --:--:-- --:--:--  3625
{"error":"not_found","reason":"Database does not exist."}
curl: (3) <url> malformed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions