Skip to content

http://localhost:80/posts with example json crashes container #1

@Khazrak

Description

@Khazrak

Hi.
I run the container with the example json (posts and comments). When I go to the adress: http://localhost:80/posts I get the data but the container crashes. The same if I use curl.

I get the response:

GET /posts 304 16.824 ms - -

/usr/local/lib/node_modules/json-server/node_modules/lowdb/src/disk.js:23
if (err) throw err
^
Error: EBUSY, rename '/data/.~db.json'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions