Skip to content

Error when applying configuration #39

@enlight3d

Description

@enlight3d

Describe the bug
Since latest vscode (1.98.2) and vscode insiders (1.99.0-insider) updates, Custom UI Style won't apply my configuration.

In my settings.json I currently have:

  "custom-ui-style.external.imports": [
    "file:///C:/Users/thib9/.vscode/extensions/brandonkirbyson.vscode-animations-2.0.7/dist/updateHandler.js",
    "file:///C:/Users/thib9/.vscode/extensions/weswigham.synthwave-x-fluoromachine-contrast-fixed-animations-1.0.1/epic-80s-transitions.css",
    "file:///C:/Users/thib9/.vscode/extensions/webrender.synthwave-x-fluoromachine-0.0.14/synthwave-x-fluoromachine.css"
  ],

The returned error is [ERROR] Fail to execute action, TypeError [ERR_INVALID_FILE_URL_PATH]: File URL path must be absolute.

Even if I remove the external URL imports, I get the error.

To Reproduce
Steps to reproduce the behavior:

  1. Be on latest vscode version
  2. Have custom ui style extension installed with version 0.5.5
  3. Reload Custom UI Style configuration

Screenshots

Image

Desktop:

  • OS: Windows 11 Pro 23H2

Version: 1.99.0-insider (user setup)
Commit: 04b99c90f4832235b2d15e193cb14fff8a76dba6
Date: 2025-03-31T22:52:59.942Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631

Additional context
On my mac with same vscode or vscode insiders version (but on my profile OSX where I changed the paths for the external url import) it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions