monteecristoo’s blog

https://twitter.com/irakaarozo

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

cloud9上のubuntuのnodeのversionが古いため発生。

→ nvm install stable

・・・nodeをupdate

→ npm run dev

・・・正常に動作