Updated with npm install image

Cesar De la Torre 2017-02-22 16:44:36 -08:00
parent 392702b841
commit 776f84cf17
3 changed files with 5 additions and 5 deletions

Binary file not shown.

@ -30,8 +30,8 @@ http://www.hanselman.com/blog/VisualStudio2015FixingDependenciesNpmNotInstalledF
Now, you need to build the SPA app (TypeScript and Angular 2 based client app) with NPM. Now, you need to build the SPA app (TypeScript and Angular 2 based client app) with NPM.
* Open a command-prompt window and move to the root of the SPA application (src\Web\WebSPA\eShopOnContainers.WebSPA) * Open a command-prompt window and move to the root of the SPA application (src\Web\WebSPA\eShopOnContainers.WebSPA)
* Run the command <b>npm install</b> as shown below: * Run the command <b>npm install</b> as shown below:
<img src="img/spa/npm-install.png">
* Then, run the command <b>npm run build:prod</b> as shown below: * Then, run the command <b>npm run build:prod</b> as shown below:
<p>
<img src="img/spa/npm-run-build-prod.png"> <img src="img/spa/npm-run-build-prod.png">
If you get an error like <b>"Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 6.x"</b>, then run the command <b>npm rebuild node-sass</b> as in the following screenshot: If you get an error like <b>"Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 6.x"</b>, then run the command <b>npm rebuild node-sass</b> as in the following screenshot:

BIN
img/spa/npm-install.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB