kendo-labs / kendo-bootstrapper

GNU General Public License v3.0
49 stars 20 forks source link

Failure to launch (on Mac) #18

Closed toddanglin closed 11 years ago

toddanglin commented 11 years ago

I followed the README instructions and everything seemed to clone fine and install without errors. However, when I run 'bin/start.js' I get the following error/stack:

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 Object.initialize (/Users/kendoui/Documents/git/kendo-bootstrapper/node_modules/kendo-lint/lib/parsedocs.js:299:16) at Object. (/Users/kendoui/Documents/git/kendo-bootstrapper/bin/start.js:16:35) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10) at process.startup.processNextTick.process._tickCallback (node.js:244:9)

Any ideas?

bsatrom commented 11 years ago

Node version?

toddanglin commented 11 years ago

That was my first guess. Version at time of failure: v0.8.11

Updating Node now to v0.10.13.

AND...that did the trick. I clearly overlooked the "Node v0.10+" requirement in the README. Maybe the start script can do a quick version check and throw a more useful warning for other users that make the same oversight...

bsatrom commented 11 years ago

Good idea. What do you think, @mishoo?