maxmert / maxmertkit

Maxmertkit, powerful, most customizable and easiest for usage mobile first front-end framework for web-development.
maxmert.com
MIT License
482 stars 70 forks source link

Build error #43

Closed AMar4enko closed 10 years ago

AMar4enko commented 10 years ago

[gulp] Finished 'kitSass' after 22 s [gulp] maxmertkit.js saved 22.84 kB (51.65 kB -> 28.81 kB)

stream.js:94 throw er; // Unhandled stream error in pipe. ^ Error: Invalid arguments at filesize (/Users/admin/Downloads/maxmertkit-1.0.0/node_modules/gulp-bytediff/node_modules/filesize/lib/filesize.js:33:9)

maxmert commented 10 years ago

Please, try to delete node_modules and reinstall everything with guide on http://maxmert.com/start#howtoBuild

AMar4enko commented 10 years ago

No luck. But i notice what gulp executable not available from source dir, so i ran it as $ node_modules/.bin/gulp build

maxmert commented 10 years ago

Try to install gulp globally: $ sudo npm install -g gulp

AMar4enko commented 10 years ago

Same error. Maybe this thread https://github.com/ben-eb/gulp-bytediff/issues/2 can be usefull Ok. It's a build error, looks like it caused by gulp-bytediff.

maxmert commented 10 years ago

Can you try in gulpfile.coffee to change from line 355:

from .pipe( bytediff.start() ) .pipe( minifyCSS() ) .pipe( gzip( append: no ) ) .pipe( bytediff.stop() )

to .pipe( minifyCSS() ) .pipe( bytediff.start() ) .pipe( gzip( append: no ) ) .pipe( bytediff.stop() )

AMar4enko commented 10 years ago

Now it passes to the end [gulp] Starting 'kitCoffee'... [gulp] Starting 'kitSass'... [gulp] Starting 'clean'... [gulp] Finished 'build' after 8.56 ms [gulp] gulp-size: maxmertkit.js 51.65 kB [gulp] Finished 'clean' after 400 ms [gulp] Finished 'kitCoffee' after 408 ms [gulp] gulp-size: main.css 830.24 kB [gulp] gulp-size: main.sass.map 328.4 kB [gulp] gulp-size: total 1.16 MB [gulp] Finished 'kitSass' after 15 s [gulp] maxmertkit.js saved 22.84 kB (51.65 kB -> 28.81 kB) [gulp] maxmertkit.css saved 580.95 kB (702.46 kB -> 121.52 kB)

maxmert commented 10 years ago

Awesome! I'll make a patch.