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
After receiving a warning
[12:19:21 PM] WARN Cannot extend config from rainbow:test in /PhpstormProjects/app-nuxt-3
Did some research
In node_modules/c12/dist/shared/c12.cab0c9da.mjs and node_modules/c12/dist/shared/c12.24612422.cjs the files has a variable like this GIGET_PREFIXES
I have now also encountered this problem. As a temporary workaround, I have now done it so that instead of registering my own provider, I simply overwrite the gitlab provider, for example. However, this is a very unattractive solution. As stated here:
// TODO: Either expose from giget directly or redirect all non file:// protocols to giget
, my suggestion would be that every unknown provider or every provider that is not a file simply forwards to giget. this would solve the problem and you could also use custom providers.
Ayax0
linked a pull request
Dec 1, 2024
that will
close
this issue
Environment
Operating System: MacOs
Node Version: v20.3.1
Nuxt Version: 3.12.2
Nitro Version: v2.9.6
Package Manager: [email protected]
Reproduction
https://stackblitz.com/edit/github-cfzuw7?file=nuxt.config.ts
Describe the bug
https://github.com/unjs/giget?tab=readme-ov-file#custom-providers
in nuxt.config
After receiving a warning
[12:19:21 PM] WARN Cannot extend config from rainbow:test in /PhpstormProjects/app-nuxt-3
Did some research
In node_modules/c12/dist/shared/c12.cab0c9da.mjs and node_modules/c12/dist/shared/c12.24612422.cjs the files has a variable like this
GIGET_PREFIXES
and due to the fact that the variable does not contain a custom provider, it does not work
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: