NPM tasks are ran from this base dir.
npm install
If you’re working on Windows
-
Install Microsoft’s windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).
-
Restart your computer
-
Re-run npm install
If you don’t install this library, you may have such errors when you’ll do npm install :
ERROR in ./~/css-loader?importLoaders=1!./~/sass-loader!./~/postcss-loader!./src/index.scss Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.13.1
If you wanna serve the built version on dev mode :
npm run serve
If you wanna serve the built version on production mode :
npm run serve:dist
If you wanna serve the built version pointing on the demo’s server :
npm run serve:demo
If you wanna serve the built version pointing on the nightly’s server :
npm run serve:nightly
If you wanna launch e2e (end to end) tests with Protractor on the built version :
npm run buildNoReg
Tested and approved with the BrowserStack platform