VS2017 Cordova error @ionic/app-scripts not installed

Source: Internet
Author: User

Error encountered in installing vs2017 Cordova @ionic/app-scripts not installed

Each time you open the automatic download is very slow, there are many online posts to write

Enter the command prompt for Windows.

Input: NPM install @ionic/[email protected]--save-dev

If executed smoothly, enter VS2017 again will find @ionic/app-scripts has been updated well.

3.6.2 However, the execution of the above command appeared

Cannot download "Https://github.com/sass/node-sass/releases/download/v4.5.0/win32-x64-51_binding.node":

How to solve it:

1. Manually download the above link in the browser, save the file to a directory

2. Then go to Windows command prompt: Set Sass_binary_path=e:/tools/win32-x64-51_binding.node

3. Run NPM install again @ionic/[email protected]--save-dev

OK, success.

However, there is no implementation or installation failure in the actual operation. There is also a problem installing the console command. So consider the PowerShell

It is not possible to print out all the paths with Echo, and since it is ultimately sass_binary_path, it is better to use Sass_binary_path as a global variable, and the reference is to download the information from the installation global variable by default.

Open vs2017 again, run the program, install successfully

VS2017 Cordova error @ionic/app-scripts not installed

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.