frappe icon indicating copy to clipboard operation
frappe copied to clipboard

Windows Compatibility

Open casey-chow opened this issue 11 years ago • 0 comments

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.

casey-chow avatar Jul 10 '14 14:07 casey-chow