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