backends icon indicating copy to clipboard operation
backends copied to clipboard

yarn migrate:db:import fails with exit code 1

Open kuhlenbrecht opened this issue 2 years ago • 3 comments

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.

kuhlenbrecht avatar Nov 28 '21 21:11 kuhlenbrecht