web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / npm ERR! 405 Method No...
Power Apps
Unanswered

npm ERR! 405 Method Not Allowed - GET

(0) ShareShare
ReportReport
Posted on by

Dear Community,

 

I am trying to create my First PCF Control and I get the below error when I run 'npm install' command.
PS D:\PCF Learnings\LinearInput2> npm install
npm ERR! code E405
npm ERR! 405 Method Not Allowed - GET https://registry.npmjs.org/typescript/@types%2fnode
 
I tried to create from 'PCF Builder' plugin in XrmToolbox and facing the same error.

Has anyone faced this issue earlier? Please help me on this to address this issue.

 

Thank You!

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    I got some similar sort of error, while installing NPM

    errors are like below

     

    C:\Users\full>npm install @mermaid-js/mermaid-cli

    npm ERR! code ENOTFOUND

    npm ERR! syscall getaddrinfo

    npm ERR! errno ENOTFOUND

    npm ERR! network request to http://registry.npmjs.org/@mermaid-js%2fmermaid-cli failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org

    npm ERR! network This is a problem related to network connectivity.

    npm ERR! network In most cases you are behind a proxy or have bad network settings.

    npm ERR! network

    npm ERR! network If you are behind a proxy, please make sure that the

    npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

     

    npm ERR! A complete log of this run can be found in:

    npm ERR!     C:\Users\full\AppData\Local\npm-cache\_logs\2022-12-

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Anonymous  ,

     

    Are you behind a proxy? If yes, you could set the Environment Variables
    HTTP_PROXY and HTTPS_PROXY with the https://<yourProxyAddress>:<Port>
    If that doesn't solve your issue, maybe this thread can help: https://stackoverflow.com/questions/23193614/npm-err-network-getaddrinfo-enotfound

     

     

     

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Sandeep_97 , 

    maybe you have registry issues. 
    Using "npm config ls" you can have a look if there is something special...
    Maybe it helps to specify the registry, when you try to install "npm install  --registry=https://registry.npmjs.org"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard