frappe
frappe copied to clipboard
Windows Compatibility
When used in Windows, running cake start returns the following:
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1000:11)
at Process.ChildProcess._handle.onexit (child_process.js:791:34)
This problem stems from node issue 2318 and the incompatibility between Windows and Unix paths. I managed to resolve the problem by using the cross-spawn module and running all the variables through path.resolve.