# "npm error 405 Method Not Allowed - PUT" with npm-publish

**URL:** <https://community.sonatype.com/t/npm-error-405-method-not-allowed-put-with-npm-publish/14035>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository, npm\
**Created:** [December 12, 2024, 4:46pm UTC](https://community.sonatype.com/t/npm-error-405-method-not-allowed-put-with-npm-publish/14035 "2024-12-12T16:46:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![amu](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@amu](https://community.sonatype.com/u/amu)\
**Post date:** [December 13, 2024, 3:24pm UTC](https://community.sonatype.com/t/npm-error-405-method-not-allowed-put-with-npm-publish/14035/3 "2024-12-13T15:24:49Z")

</div>

Hi Matthew,

Thanks a lot for your input. That did the trick! I thought the // was harmless for a minute but it wasn’t.

Thanks again!

---

_[View the full topic](https://community.sonatype.com/t/npm-error-405-method-not-allowed-put-with-npm-publish/14035)._
