taylorhughes / skit

skit: A pure JavaScript frontend for building better web clients.
MIT License
540 stars 22 forks source link

windows support #7

Closed mark-a closed 9 years ago

mark-a commented 9 years ago

Hi there!

I tried this neat little framework on windows and all i got was:

fs.js:565
fs.write = function(fd, buffer, offset, length, position, callback) {
                                             ^
Error: ENOENT, no such file or directory '<target_directory_on_windows>\library\BaseController.css'
at Error (native)
at Object.fs.openSync (fs.js:500:18)
at Object.fs.writeFileSync (fs.js:1099:15)
at <npm_directory_on_windows>\node_modules\skit\bin\skit:214:8
at Array.forEach (native)
at command_skeleton (<npm_directory_on_windows>node_modules\skit\bin\skit:211:16)
at main (<npm_directory_on_windows>\node_modules\skit\bin\skit:247:7)
at Object.<anonymous> (<npm_directory_on_windows>\node_modules\skit\bin\skit:261:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)

So i digged a little deeper and changed the parts that were to plattformspecific.

Cheers Mark