reflexdemon / slush-angular-gulp

First step towards integration of all the goodies of the open source projects
http://reflexdemon.github.io/slush-angular-gulp/
MIT License
17 stars 9 forks source link

Error on gulp serve #25

Open angel1st opened 9 years ago

angel1st commented 9 years ago

Hi there, Just installed slush-angular-gulp successfully. When start gulp serve having following error:

gulpfile.js
    line 160  col 126  Line is too long.

Any ideas why this happens?

reflexdemon commented 9 years ago

@angel1st Thanks for you bring this to our notice.

Please provide the below for me to do some quick validation.

  1. OS you are trying to run the slush?
  2. Do you have admin/root on the box?
  3. NPM/NODE version?

If you can provide us the above, it will help us fix this issue.

We had this tested on windows/mac.

angel1st commented 9 years ago

Hi @reflexdemon, Please find below required info: OS - Ubuntu 14.04.2 LTS Yes, in fact I started sudo gulp serve NPM version 3.3.10 Node version 0.12.7

reflexdemon commented 9 years ago

you dont have to do sudo gulp serve. Please try that.

angel1st commented 9 years ago

Hi @reflexdemon, The above mentioned error is because of the line length in gulpfile.js. It is in fact reported by jslint and it has nothing to do with the mode gulp is started. Since this file is generated by your framework, please make appropriate adjustments.

reflexdemon commented 8 years ago

@angel1st Oops! My bad. Does this break the build? or Does it not start the server?

nitetrik commented 8 years ago

It breaks the Production ready build for me when you do either "gulp dist" or "gulp serve-dist".

reflexdemon commented 8 years ago

@nitetrik can you please post the error messages while doing the production build.

The build file should look something like the below file. If you see anything that is not matching this file please let me know. I can push the changes ASAP. https://github.com/reflexdemon/ng-gulp/blob/master/gulpfile.js