Skip to content

component hero / tabler.min.js.map and tabler-vendors.min.css.map not loaded #1163

Closed

Description

@aedion-a

Introduction

On component hero, the color of background icon (color parameter) is not interpreted with 0.35.1+ versions.
Two files with .map extensions are not loaded.

To Reproduce

Bug found on Falkon browser with the page https://sql-page.com/component.sql?component=hero

Actual behavior

Terminal messages (standard error) :

Try creating one of these files to handle this route.: 404 Not Found
ERROR sqlpage::webserver::http] /tabler-vendors.min.css.map does not exist.

"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/22.12.1 QtWebEngine/5.15.13 Chrome/87.0.4280.144 Safari/537.36" 0.003910
ERROR sqlpage::webserver::http] /tabler.min.js.map does not exist.

Javascript messages

DevTools failed to load SourceMap: Could not load content for https://sql-page.com/tabler.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://sql-page.com/tabler-vendors.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Screenshots

0.34.0 (OK)

Image

0.35.1 (no background color)

Image

Version information

  • OS: Linux / Falkon 22.12.1
  • Database : no database
  • SQLPage Version : OK on version 0.34 / failed on versions >= 35.1

Activity

  1. lovasoa commented on Dec 27, 2025

    @lovasoa
    Collaborator

    indeed, we do bundle the original minified source code from tabler without the source maps.

    Were you trying to debug an issue in tabler, or just bothered by the console errors ? If option two, then you can safely ignore them.

  2. aedion-a commented on Jan 4, 2026

    @aedion-a
    Author

    Neither, I use Falkon on daily basis.
    End users of my apps are using Chrome/Firefox (without this behavior).
    Ok I will ignore them.

  3. 81reap commented on Oct 29, 2026

    @81reap
    Collaborator

    I think this is still an issue

    Reproduction

    $ cat tests/end-to-end/fixtures/repro_1163/index.sql 
    SELECT 'hero' AS component, 'Hero' AS title;
    
    $ cat tests/end-to-end/fixtures/repro_1163/test.ts
    import { expect, test } from "../../fixture.ts";
    
    test("every source map an asset names exists", async ({ page }) => {
      const assets = await page.evaluate(() => [...document.querySelectorAll<HTMLScriptElement | HTMLLinkElement>("script[src], link[rel=stylesheet]")].map((e) => ("src" in e ? e.src : e.href)).filter((u) => u.startsWith(location.origin)));
      const missing: string[] = [];
      for (const asset of assets) {
        const body = await (await page.request.get(asset)).text();
        const map = body.match(/sourceMappingURL=(\S+?)(\s|\*\/|$)/)?.[1];
        if (map && !(await page.request.get(new URL(map, asset).href)).ok()) missing.push(new URL(map, asset).pathname);
      }
      expect(missing).toEqual([]);
    });
    repro_1163 postgres
    v0.36.0 ✘ failed
    v0.47.0 ✘ failed
    tree ✘ failed

    On commit 616df27: nix run .#reproduce -- repro_1163 postgres v0.36.0 v0.47.0 tree

  4. added a commit that references this issue on Oct 30, 2026
    8b24454
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions