From 61e3bedbc02efe638ed805302857efeb011d6875 Mon Sep 17 00:00:00 2001
From: Dustin Rea
Note: Your user might not have the permissions to install package globally, so use a super user or sudo.
@@ -81,12 +86,18 @@ Prerequisites
You're going to use the Grunt Task Runner to automate your development process, in order to install it make sure you've installed Node.js and npm, then install grunt globally using npm:
$ npm install -g grunt-cli
+ $ npm install -g gulp
+ Quick Install
bower install
command to install all the front-end modules needed for the application.
After the install process is over, you'll be able to run your application using Grunt, just run grunt default task:
$ gruntYour application should run on the 3000 port so in your browser just go to http://localhost:3000. +
+ After the install process is over, you'll be able to run your application using Gulp, just run gulp default task: +
$ gulp+ Your application should run on the 3000 port so in your browser just go to http://localhost:3000. +
That's it! your application should be running by now, to proceed with your development check the other sections in this documentation.
If you encounter any problem try the Troubleshooting section.
diff --git a/_includes/docs/0.4.x/troubleshooting.html b/_includes/docs/0.4.x/troubleshooting.html
index 44f379bd2e..eed2ffc2b2 100644
--- a/_includes/docs/0.4.x/troubleshooting.html
+++ b/_includes/docs/0.4.x/troubleshooting.html
@@ -23,7 +23,7 @@
You may find there is a weird error during install like npm's Error: ENOENT, usually updating those tools to the latest version solves the issue.
@@ -50,6 +50,11 @@$ npm update -g grunt-cli+
$ npm update -g gulp+
@@ -72,7 +77,7 @@
Sometimes it can be a local issue or something that we didn't cover, in case you have any further questions please contact us via the community page.
++ Another common error for applications using SASS revolves around node-sass and grunt-sass or gulp-sass depending on your choice. The error may occur during npm install or when starting the server. +
+$ npm uninstall grunt-sass +$ npm uninstall gulp-sass +$ npm uninstall -g grunt-sass +$ npm uninstall -g gulp-sass+ Next uninstall the global node-sass module. +
$ npm uninstall -g node-sass+ Install the global node-sass first. Then install the grunt-sass and/or gulp-sass modules. +
$ npm install grunt-sass +$ npm install gulp-sass+ Now try the npm install again from the project folder. +
$ npm install+ If your npm install still fails at this point. Repeat the above steps but use npm rebuild -g after the global node-sass install, but before installing the project grunt/gulp sass modules. +
$ npm rebuild -g+ As suggested above, you can also try npm update. +
$ npm update -g+