You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[webpack-cli] HookWebpackError: Validation groups: main
An instance of Headers has failed the validation:
- property icon has failed the following constraints: icon must be a URL address
at makeWebpackError (.\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\HookWebpackError.js:48:9)
at .\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack\lib\Compilation.js:3068:12
at eval (eval at create (.\node_modules\.pnpm\[email protected]\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:34:1)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
-- inner error --
Error: Validation groups: main
An instance of Headers has failed the validation:
- property icon has failed the following constraints: icon must be a URL address
at ValidateHeaders.validateHeaders (.\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-userscript\dist\features\validate-headers\impl.js:45:23)
at .\node_modules\.pnpm\[email protected][email protected]\node_modules\webpack-userscript\dist\features\validate-headers\impl.js:17:73
at _next0 (eval at create (.\node_modules\.pnpm\[email protected]\node_modules\tapable\lib\HookCodeFactory.js:75:10), <anonymous>:54:16)
at eval (eval at create (.\node_modules\.pnpm\[email protected]\node_modules\tapable\lib\HookCodeFactory.js:75:10), <anonymous>:79:1)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
caused by plugins in Compilation.hooks.processAssets
Error: Validation groups: main
An instance of Headers has failed the validation:
- property icon has failed the following constraints: icon must be a URL address
According to tampermonkey, @icon, @iconURL and @defaulticon are substitutes of each other. Noticing the name @iconURL, that is why I defined @icon to be an URL address.
If you found any docs or use cases of @icon in data URI format, please feel free to let me know, thank you!
I have written a configuration with the
@icon
item as a base64-encoded image like this:There is an error message like this:
Does the @ICON item have to be a URL address?
The text was updated successfully, but these errors were encountered: