Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 'Unknown encoding' #141

Closed
alancd opened this issue Oct 15, 2014 · 1 comment
Closed

Error 'Unknown encoding' #141

alancd opened this issue Oct 15, 2014 · 1 comment

Comments

@alancd
Copy link

alancd commented Oct 15, 2014

$ totoro -c "utf8"
info handle-cfg.js:203 | Found runner < /Users/Alan/Projects/avalon.test/tests/runner.html >

buffer.js:434
      throw new Error('Unknown encoding');
            ^
Error: Unknown encoding
    at Buffer.toString (buffer.js:434:13)
    at Object.fs.readFileSync (fs.js:236:33)
    at findRunnerRoot (/usr/local/lib/node_modules/totoro/lib/handle-cfg.js:113:20)
    at handleClientRoot (/usr/local/lib/node_modules/totoro/lib/handle-cfg.js:74:22)
    at handleCfg (/usr/local/lib/node_modules/totoro/lib/handle-cfg.js:38:3)
    at new Client (/usr/local/lib/node_modules/totoro/lib/index.js:24:14)
    at Object.<anonymous> (/usr/local/lib/node_modules/totoro/bin/totoro:77:21)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
@alancd
Copy link
Author

alancd commented Oct 31, 2014

runs ok after upgrade nodejs and packages

@alancd alancd closed this as completed Oct 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant