Skip to content

Instantly share code, notes, and snippets.

@rseroter
Created August 8, 2012 00:22
Show Gist options
  • Save rseroter/3290864 to your computer and use it in GitHub Desktop.
Save rseroter/3290864 to your computer and use it in GitHub Desktop.
Error thrown by Node.js app that uses Azure SDK
/var/vcap.local/dea/apps/seroternode-0-6ac0e0e5c05575d5809e2138fc145d39/app/node_modules/azure/lib/services/serviceManagement/models/roleschema.json:2
"RoleName":
^
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected token :
at Module._compile (module.js:406:25)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at require (module.js:355:19)
at Object.<anonymous> (/var/vcap.local/dea/apps/seroternode-0-6ac0e0e5c05575d5809e2138fc145d39/app/node_modules/azure/lib/services/serviceManagement/models/servicemanagementserialize.js:19:18)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
@glennblock
Copy link

The issue is most likely the node version. The SDK depends on node 0.6.18 as we rely on some HTTP tunneling enhancements.

@glennblock
Copy link

Sorry that's 0.6.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment