GithubHelp home page GithubHelp logo

Comments (1)

JaneJeon avatar JaneJeon commented on August 28, 2024

It is not the database (see how literally nowhere in the error message does it say DATABASE_URL or knex?).

In fact, if you look closely at the error message, you'll see that it is from not configuring the necessary environment variables, which I've extensively documented in both the .env files and the documentation:

Invalid URL
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:371:5)
at onParseError (node:internal/url:552:9)
at new URL (node:internal/url:628:5)
at Object. (/home/node/models/link.js:10:16) <---------- here
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)

See https://github.com/JaneJeon/blink/blob/master/models/link.js#L10. It complaining about invalid URL here most likely means you have not provided BASE_URL, which you haven't in your reproduction.

Please, please, PLEASE for the love of God read the docs. I specifically have a section for deploying with Docker, and I specifically point out in the issue description (that you deleted) that you NEED to read the docs first.

I'm not sure how more explicit about "PLEASE READ THE DOCS" I could've gotten, but clearly you haven't done it.

Please go ahead and read the docs.

from blink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.