Migrated development environment

I migrated a sage project over from PC to Mac. When I try and run gulp it’s throwing me the following error:

vents.js:141 throw er; // Unhandled 'error' event ^ Error: spawn /Sites/test-site/wp-content/themes/cappc/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/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:442:9) at process._tickCallback (node.js:356:17)

Any suggestions for updating the sage project after changing environments to fix/prevent this?

Thanks,
Dan

If you changed environments, you’ll probably need to delete node_modules and re-run npm install for the new environment.

That makes perfect sense and fixed my issues. Thank you!