Comments (1)
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)
- Move off of Docker workflow HOT 1
- Github Oauth example HOT 1
- Issues running npm start HOT 12
- Too Many Redirects HOT 11
- Request for a docker compose without needing to build HOT 4
- Certain links aren't shortened correctly. HOT 2
- Cannot start a test environment with the default compose stack provided HOT 1
- Deployment instructions unclear for selfhosted docker HOT 2
- Editing Destination HOT 3
- Docker: Blink won't initialize if OIDC provider is still starting up. HOT 1
- QR Code image fails to load HOT 4
- Minimize images in documentation automatically HOT 3
- FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory HOT 4
- Can use `-` in brand link but router does not support it HOT 10
- Add support for other `token_endpoint_auth_method` methods that require a secret (OIDC) HOT 4
- Remove postgres and redis port mapping from docker-compose.yml HOT 2
- Cannot GET /app/login HOT 3
- Issue with Docker Deployment HOT 1
- Error running in local environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blink.