Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on gulp serve #25

Open
angel1st opened this issue Nov 3, 2015 · 7 comments
Open

Error on gulp serve #25

angel1st opened this issue Nov 3, 2015 · 7 comments
Assignees

Comments

@angel1st
Copy link

angel1st commented Nov 3, 2015

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
Copy link
Owner

@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 reflexdemon self-assigned this Nov 5, 2015
@angel1st
Copy link
Author

angel1st commented Nov 5, 2015

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
Copy link
Owner

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

@angel1st
Copy link
Author

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
Copy link
Owner

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

@nitetrik
Copy link

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

@reflexdemon
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants