Build failed because: note: Reason: cannot convert from ‘v8::Local’ to ‘const v8::String::Value’ Solution: Change Nodejs to version 10.19.0, node-sass does
Month: September 2020
Javascript Debugging Tips
To dump out random objects console.log(JSON.stringify(obj)) if that didn’t work: console.log(“my object: %o”, obj); A straight console.log(obj) will often show
Laravel Query Builder WhereRaw Example
A query builder whereraw tutorial whereRaw($sql, array $bindings = [], $boolean = ‘and’) A couple of examples: $g = TableName::whereRaw(‘LOWER(worker_location)
Laravel Query Performance
Here’s a way to assess the performance of a query: Start tinker in the Laravel project directory php artisan tinker