-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install module make 405 Method not Allowed issue #510
Comments
Same error here on a fresh project, with any module (tried with Environement : Note for OP @SwartZCoding : your error message should be between triple backticks to display it correctly : ``` Error..... ``` |
Do you have any custom registry set up? |
no, personally, try with a fresh nodejs install & clean of my config |
Same error here on a fresh project, with module @nuxtjs/i18n. Environement : |
I do, but I already tried removing it, with the same result |
Same problem here. |
Same here, Tried to install Nuxt Scripts. got "https://npm.pkg.github.com//@nuxt/scripts/latest": 405 Method Not Allowed |
Glad i found this issue, I was worried the error was on my machine.
( and the same for another module, |
Might be the same as #498 |
It is indeed the same @tkjaergaard. Closing the linked on in favor if this due to activity) |
So the error happens here: https://github.com/nuxt/cli/blob/main/src/commands/module/add.ts#L276 It takes the first match with The issue was introduced in #470. It seems that the regex is not considering the "scope" defined prior to So even though you have specified that the registry should only work for a specific scope, Maybe an additional scope check in |
Hello everyone !
When i try to do the command : npx nuxi@latest module add @nuxtjs/tailwindcss, i recieve this error response. I have already try with others modules and i have the same issue.
Thanks in advance for all help i can recieve !
Environement :
Node: v20.18.0
OS : Windows 11
` ERROR [GET] "https://npm.pkg.github.com//@nuxtjs/tailwindcss/latest": 405 Method Not Allowed 09:05:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async $fetch2 (/C:/Users/alter/Documents/extranet-web/node_modules/nuxi/dist/shared/nuxi.b88e7b0f.mjs:340:15)
at async resolveModule (/C:/Users/alter/Documents/extranet-web/node_modules/nuxi/dist/chunks/add2.mjs:262:15)
at async Object.setup (/C:/Users/alter/Documents/extranet-web/node_modules/nuxi/dist/chunks/add2.mjs:136:15)
at async runCommand$1 (/C:/Users/alter/Documents/extranet-web/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1620:5)
at async runCommand$1 (/C:/Users/alter/Documents/extranet-web/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1639:11)
at async runCommand$1 (/C:/Users/alter/Documents/extranet-web/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1639:11)
at async runMain$1 (/C:/Users/alter/Documents/extranet-web/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1777:7)`
The text was updated successfully, but these errors were encountered: