Fixed
Project:
Vite
Version:
1.5.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2026 at 05:41 UTC
Updated:
26 Jul 2026 at 20:49 UTC
Jump to comment: Most recent
I have a disabled theme that is having vite configuration in it's info yml. When getViteSettingFromExtensionDefinition function is trying to find extensions with vite configuration inside it does not catch the exception if the theme is not installed.
👉 This might occur especially if you are having a disabled starterkit theme
Add following lines to an uninstalled theme:
vite:
enabled: true
enableInAllLibraries: true
enableInAllComponents: true
Add try/catch wrapper to catch uninstalled theme exception.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
yannickooComment #4
yannickooComment #6
yannickooIt seems like this is not needed anymore, I was explicitly calling a library from an uninstalled theme 😇
Comment #8
yannickooOpening this again since I experience this error if I have an uninstalled theme that has Vite configuration.
Comment #12
wotnakFixed in 1.5.4.
Comment #14
yannickooThanks @wotnak!