Skip to content

Instantly share code, notes, and snippets.

@PunchRockgroin
Created September 18, 2013 20:30
Show Gist options
  • Save PunchRockgroin/6615199 to your computer and use it in GitHub Desktop.
Save PunchRockgroin/6615199 to your computer and use it in GitHub Desktop.
Gumby Framework - Claymate on old/dev Node Versions
# node -v
v0.11.7
# claymate build
/root/.nvm/v0.11.7/lib/node_modules/claymate/node_modules/uglify-js/lib/parse.js:53
KEYWORDS = makePredicate(KEYWORDS);
^
util.debug: Use console.error instead
DEBUG: ERROR in file: /root/.nvm/v0.11.7/lib/node_modules/claymate/node_modules/uglify-js/lib/parse.js / ReferenceError: KEYWORDS is not defined
# node -v
v0.8.25
# claymate build
buffer.js:440
throw new Error('Unknown encoding');
^
Error: Unknown encoding
at Buffer.toString (buffer.js:440:13)
at Object.fs.readFileSync (fs.js:236:33)
at Claymate.getJSONConfig (/usr/local/lib/node_modules/claymate/lib/claymate.js:319:27)
at Object.<anonymous> (/usr/local/lib/node_modules/claymate/bin/claymate:8:24)
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:245:9)
# node -v
v0.8.25
# claymate install
Creating directory: fonts/icons
Creating directory: sass/var
Creating directory: img
Creating directory: js
Creating directory: css
Copying file bower_components/gumby/ui.html to ui.html
[Error: Unknown encoding]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment