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

yeoman build:minify hangs with no error #764

Closed
ghost opened this issue Dec 3, 2012 · 7 comments
Closed

yeoman build:minify hangs with no error #764

ghost opened this issue Dec 3, 2012 · 7 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 3, 2012

Node is running full steam though - but after 30 minutes with no error message, it goes trough most of the process, rev.js, rev:css, rev:img, usermin:html, usermin:Css then Cache and start the html:compress and show all the option:

Running "html:compress" (html) task
Run htmlcompressor on **/*.html
>> compress... 
Options:
{ removeComments: true,
  removeCommentsFromCDATA: true,
  removeEmptyAttributes: true,
  cleanAttributes: true,
  removeAttributeQuotes: true,
  removeRedundantAttributes: true,
  removeScriptTypeAttributes: true,
  removeStyleLinkTypeAttributes: true,
  collapseWhitespace: true,
  collapseBooleanAttributes: true,
  removeOptionalTags: true }

and node continue to run for a long long time, but nothing happens.

Not sure where to start troubleshooting this since no error gets spitted out.. i'll let it run to see if it ends up finishing. Is there a way to make that script more verbose to see what is happening?

@ghost
Copy link
Author

ghost commented Dec 3, 2012

a previous build without the minify :

http://garrysly.ca/

@ghost
Copy link
Author

ghost commented Dec 3, 2012

Build success. Done in 7376.419s

@sindresorhus
Copy link
Member

Can't reproduce.

What system are you on? You're using Yeoman 0.9.5 right?

Try running it with yeoman build:minify -v

@ghost
Copy link
Author

ghost commented Dec 3, 2012

Yep yeoman 0.9.5 on debian wheezy ~

indeed the -v helps, the process seems to hang on some jquery component (the jquery validation demo files) which is kind of weird, I gues I should clean up the components files and folder before doign a build...

But should yeoman install remove the demo folder automatically? I see now that most of the processing time when I build is spent on javascript html files that came from the yeoman install.

@ghost ghost closed this as completed Dec 3, 2012
@sindresorhus
Copy link
Member

But should yeoman install remove the demo folder automatically?

Hm?

@ghost
Copy link
Author

ghost commented Dec 3, 2012

well when I do a, for example yeoman install fancybox it adds all the files under components but also add a demo folder with some css html js files... which get processed by yeoman build. Maybe the demo folder could be ommited when doinga yeoman install

@sindresorhus
Copy link
Member

See bower/bower#88

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

No branches or pull requests

1 participant