kiswa / TaskBoard

A Kanban-inspired app for keeping track of things that need to get done. (Don't forget to read the Wiki page!)
http://taskboard.matthewross.me
MIT License
1.37k stars 304 forks source link

Unhandled Error when building re-write #421

Closed aheinricy closed 6 years ago

aheinricy commented 6 years ago

I'm trying to setup re-write branch and running into an error when running gulp. I've made sure the api directory is writeable and I'm still getting the following error.

/opt/TaskBoard# gulp [16:22:56] Using gulpfile /opt/TaskBoard/gulpfile.js [16:22:56] Starting 'vendor'... [16:22:56] Starting 'ts-lint'... [16:22:56] Starting 'tsc'... [16:22:56] Starting 'html'... [16:22:56] Starting 'json'... [16:22:56] Starting 'images'... [16:22:56] Starting 'scss-lint'... [16:22:56] Starting 'fonts'... [16:22:56] Starting 'scss'... [16:22:56] Starting 'api'...

events.js:141 throw er; // Unhandled 'error' event ^ Error: spawn /opt/TaskBoard/node_modules/optipng-bin/vendor/optipng ENOENT at exports._errnoException (util.js:870:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32) at onErrorNT (internal/child_process.js:344:16) at nextTickCallbackWith2Args (node.js:441:9) at process._tickCallback (node.js:355:17)

kiswa commented 6 years ago

Looks like an error installing dependencies. Give npm i another run and make sure everything installs.

aheinricy commented 6 years ago

I figured it out. I had an older version of nodejs and it wasn't compatible. I upgrade nodjs and it resolved my error. Thanks for the hint on what to look for.