JPM [error] No Firefox binary found at null

ubuntu 14.04 jpm出错: $ jpm run JPM [info] Starting jpm run on Demo Addon Creating XPI JPM [info] XPI created at /tmp/@demo-addon-0.0.1.xpi (16ms) Created XPI at …

Laravel数据填充错误

使用模型进行数据填充,官方文档少说了一个步骤,会导致错误: [InvalidArgumentException] Unable to locate factory with name [default] [App\Comment]. 需要先在database/factories/ModelFactory.php中定义:…

laravel+react+webpack+babel+gulp的配置

babel升级6.x后配置与之前不同。 laravel composer create-project laravel/laravel –prefer-dist npm npm install gulp webpack -g npm install react react-dom babel-loader babel…

Laravel简单粗暴的队列

场景 抓取一批域名的whois信息 路由 Route::controller(‘whois’, ‘WhoisController’); 传统操作控制器 class WhoisController extends Controller { /** * 开始执行任务 */ function getStart() { $do…