slush-angular-gulp icon indicating copy to clipboard operation
slush-angular-gulp copied to clipboard

Error on gulp serve

Open angel1st opened this issue 10 years ago • 7 comments

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?

angel1st avatar Nov 03 '15 19:11 angel1st

@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.

reflexdemon avatar Nov 05 '15 11:11 reflexdemon

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

angel1st avatar Nov 05 '15 12:11 angel1st

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

reflexdemon avatar Nov 14 '15 21:11 reflexdemon

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.

angel1st avatar Nov 20 '15 08:11 angel1st

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

reflexdemon avatar Dec 28 '15 12:12 reflexdemon

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

nitetrik avatar Dec 30 '15 22:12 nitetrik

@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

reflexdemon avatar Dec 31 '15 11:12 reflexdemon