2017-07-03 123 views
0

有誰知道流星系統使用哪個節點版本?流星星系更新節點版本

我只是試圖部署並得到了以下錯誤:

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode 

因此,我認爲舊版本節點的使用。

幾天前相同的代碼工作正常。

回答

0

Meteor的每個版本都鏈接到給定版本的節點。 Galaxy可能會使用與您的項目相關的鏈接。您可以通過在項目目錄(在本地計算機上)運行meteor node --version來查看它的版本,並且(可能)通過運行meteor update來更新它。