locked
pack age manager console not working RRS feed

  • Question

  • User81789783 posted

    i run command  as below iisexpress-proxy localPort to proxyPort  to Make the Web API accessible remotely . but it says

    iisexpress-proxy : The term 'iisexpress-proxy' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of 
    the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + iisexpress-proxy localPort to proxyPort
    + ~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (iisexpress-proxy:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    Thursday, December 10, 2020 6:02 AM

All replies

  • User753101303 posted

    Hi,

    And you followed https://www.npmjs.com/package/iisexpress-proxy ie it is installed as a global module?

    You try to run this from a PowerShell script?

    Thursday, December 10, 2020 11:06 AM
  • User81789783 posted

    i m following below link to work on project and stuck here as mentioned in my last post

    https://www.commonlounge.com/community/8733d50717d04254982be176ac58dd9f

    Friday, December 11, 2020 5:55 AM
  • User753101303 posted

    And you ran the following ?

    npm install -g iisexpress-proxy

    Or try

    npx iisexpress-proxy localPort to proxyPort

    Note thzt it is needed for remote access. My personal preference was to use an emulator on my own machine (which can be configured to access services on the host machine) and then a "real" dev/test server.

    Friday, December 11, 2020 8:25 AM
  • User1686398519 posted

    Hi erum, 

    You need the Node.js development workload and the Node.js runtime installed to add npm support to your project.

    After successfully installing Node.js, you can follow the instructions in this link.

    Best Regards,

    YihuiSun

    Friday, December 11, 2020 9:19 AM