sevenhit

1028 经验值

我发现npm run dev 报错
"dev": "node node_modules/cross-env/bin/cross-env.js 应该改为 "dev": "node node_modules/cross-env/dist/bin/cross-env.js

在生成discussion的表时,我的不管怎么弄,总是提示这个错误:
Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array, string given, called in E:\xampp\htdocs\laravel51\vendor\laravel\framework\src\Illuminate\Database\Q
uery\Grammars\Grammar.php on line 672 and defined in E:\xampp\htdocs\laravel51\vendor\laravel\framework\src\Illuminate\Database\Grammar.php on line 118
怎么解决?

用xampp,前端样式显示有问题,没有样式,用自带的环境homestead,显示没有问题。为什么?