Closed AMar4enko closed 10 years ago
Please, try to delete node_modules and reinstall everything with guide on http://maxmert.com/start#howtoBuild
No luck. But i notice what gulp executable not available from source dir, so i ran it as $ node_modules/.bin/gulp build
Try to install gulp globally: $ sudo npm install -g gulp
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.
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() )
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)
Awesome! I'll make a patch.
[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)