Block-scoped declarations not yet supported outside strict mode

后端 未结 7 1625
小蘑菇
小蘑菇 2020-12-04 19:26

I\'m running Laravel 5.4 on my Homestead vagrant box. I\'ve installed all the npm dependencies with npm install command. That didn\'t produce a

相关标签:
7条回答
  • 2020-12-04 20:12

    This is because you don't have the latest version of NodeJS on your machine. I'm on Ubuntu so if you're on any kind of Linux distro try this.

    curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
    sudo apt-get install -y nodejs
    
    0 讨论(0)
提交回复
热议问题