我是react和ES6的入门者。我开始与样板“https://github.com/kriasoft/react-static-boilerplate”块范围声明让const函数类在kriasoft的严格模式之外还不支持反应锅炉板
正如在文档中提到的,我没有npm install->节点运行。但我得到一个错误 为"Block-scoped declaration(let, const, hunciton, class) not yet supported outside strict mode."
我试图把“使用严格”的运行文件的顶部,但显示了另一种错误“process.argv.includes是不是一个函数”
我使用节点版本:4.3.0,npm:4.0.2。这是否会导致问题。 做版本问题来支持es6变量或者是这个任何其他问题。
谢谢。
谢谢,我会在这个主题中升级和更新.. – Krishna