2017-04-19 81 views
0

版本信息无法要求( '蔚蓝')2.0.0预览

  • 的Node.js:v4.6.0
  • Azure:2.0.0预览
  • MacOS的塞拉利昂(10.12 0.4测试版)

问题 我收到以下错误,当我尝试require('azure');。按预期使用1.2.0预览工作,但我需要使用2.0。任何指针?

/my_path/node_modules/azure/lib/azure.js:1145 
let AzureGraph = require('azure-graph'); 
^^^ 

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode 
at exports.runInThisContext (vm.js:53:16) 

回答