About a problem when NETCore is released to IIS, netcoreiis

Source: Internet
Author: User

About a problem when NETCore is released to IIS, netcoreiis

About NETCore publishing to IIS

When the Core project is released for the first time, No executable found matching command "npm" is displayed"

It shows that the npm command does not exist, so you cannot figure out how to install npm on the Internet to find a solution.

First, I installed nodejs, then open the nodejs command line tool, and enter the following content

Node cli. js install npm-gf where-gf indicates global installation. Run npm in the black form to display the content, indicating that the installation is successful:

 

When I run dotnet publish again

No executable found matching command "bower"

No executable found matching command "gulp"

So npm can be used to install the above two commands:

Npm install-g bower
Npm install-g gulp

 

Then run the command to release it.

Specific release steps can refer to: https://docs.asp.net/en/latest/publishing/iis.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.