Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

yarn migrate:db:import fails with exit code 1 #688

@kuhlenbrecht

Description

@kuhlenbrecht

Bug Report

Hi, I just wanted to play with Publikator on my local machine. I tried to install the backend, but unfortunately an error occurred. I followed the instructions in the readme and at yarn dev:setup (or yarn migrate:db:import) the following error occurred:

Invalid URL: undefined
error Command failed with exit code 1.

Steps to Reproduce

Do steps 1 to 4 from the readme on a local Linux computer.

Actual Results

It looks like the script packages/migrations/script/db/import.js cannot find a database.

You can find the full output of yarn dev:setup here: https://pastebin.com/eMd2uHtW

Expected Results

yarn dev:setup should run through.

Environment

  • Node/yarn version: Node v14.18.1/yarn 1.22.17
  • OS: Arch Linux, Kernel 5.15.5

I generally haven't reported that many bugs yet. Sorry if this report was not so understandable.

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