Category : macos

https://i.stack.imgur.com/OmMSO.png I enter sail -d and the container with meilisearch crashes with an error Error: An internal error has occurred. Permission denied (OS error 13). I need a misspelled search, tried soundex, the result doesn’t match. Maybe someone knows how to do this with native means, or how on mac os m1, run the meilisearch ..

Read more

When I have tried to install composer for laravel 8 on XAMPP localhost (on Macbook pro- on the path /Applications/XAMPP/xamppfiles/htdocs/the my project folder), and when I have run first command: php -r "copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);" I have gotten this message in command line (terminal): -bash: /Applications/MAMP/bin/php/php7.4.16/bin/php: No such file or directory For that, I installed localhost ..

Read more

I’m new to learning laravel and I just tried installing composer on my Macbook pro late 2008, Everything started out right and composer installs, but when I run composer commands it says "zsh: illegal hardware instruction" Example, When I run composer global require laravel/installer it outputs zsh: illegal hardware instruction composer global require laravel/installer It ..

Read more

MySQL suddenly stopped working after updating from macOS Big Sur to Monterey (naive). Local Laravel dev environment suddenly lost connection to MySQL. Couldn’t debug it properly (still learning), so decided to do a fresh MySQL installation via brew. Was installed through brew previously as well. On the final step, mysql_secure_installation shows this: Error: Can’t connect ..

Read more

I’m using PhpStorm on Mac. I’m trying to debug a Laravel application inside the Sail container on the remote Ubuntu server. Error that I can see from Xdebug inside Sail container is: [17] Log opened at 2021-09-26 21:24:59.590599 [17] [Step Debug] INFO: Checking remote connect back address. [17] [Step Debug] INFO: Checking header ‘HTTP_X_FORWARDED_FOR’. [17] ..

Read more

Lately, I kept getting this error php artisan migrate > IlluminateDatabaseQueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = ‘BASE TABLE’) database.php ‘pgsql’ => [ ‘driver’ => ‘pgsql’, ‘host’ => env(‘DB_LOCAL_HOST’, ‘127.0.0.1’), ‘port’ => env(‘DB_LOCAL_PORT’, ‘5432’), ‘database’ => env(‘DB_LOCAL_DATABASE’, ”), ‘username’ => ..

Read more

I have a Laravel 8 project that I want to send emails with. I develop it on macOS and I want to test it, but it does not work, but won’t give any errors. (I replaced sensitive data with ********) .env MAIL_MAILER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 MAIL_USERNAME=********@gmail.com MAIL_PASSWORD=******** MAIL_ENCRYPTION=ssl MAIL_FROM_ADDRESS=********@gmail.com MAIL_FROM_NAME="${APP_NAME}" Note: I validated those settings, I ..

Read more

I am unable to choose a time slot in Mac. In windows, it is working fine. I have tried changing the codes in my visual studio. $.ajax({ type: ‘POST’, url: ‘/calendar/read_schedule/’+doctor_id, data: { date: info.event.start.toLocaleDateString(), }, success: function(response){ console.log(response); if(response.success){ $(‘#add-event select[name="time-slot"]’).html(”); let option = document.createElement("option"); option.value = 0; option.innerHTML = "Pick a time slot"; ..

Read more

I have a project laravel + vuejs in macos. I got this error, run the command ‘npm run dev’ *[email protected] blogger % npm run dev *> [webpack-cli] Error: spawn Unknown system error -86 at ChildProcess.spawn (node:internal/child_process:415:11) at spawn (node:child_process:698:9) at Object.execFile (node:child_process:325:17) at Object.module.exports.fileCommandJson (/Users/panda/Sites/blogger/node_modules/node-notifier/lib/utils.js:88:13) at NotificationCenter.notifyRaw (/Users/panda/Sites/blogger/node_modules/node-notifier/notifiers/notificationcenter.js:81:11) at WebpackNotifierPlugin.compilationDone (/Users/panda/Sites/blogger/node_modules/webpack-notifier/index.js:129:14) at _next1 (eval at ..

Read more

The problem happens whenever I call the Laravel installer: laravel new app. When I call composer create-project –prefer-dist laravel/laravel app everything works fine. I’m using zsh and my export paths looks as follows: export PATH=$HOME/bin:/usr/local/bin:$PATH export PATH=/opt/homebrew/bin:$PATH export ZSH="/Users/konstantinkrumov/.oh-my-zsh" export PATH=~/.composer/vendor/bin:$PATH I also have an alias for composer alias composer="php /usr/local/bin/composer/composer.phar When I run which ..

Read more

I am attempting to setup a basic project in Laravel using Laravel Sail. According to the official Laravel documentation the following commands will create a new Laravel application called "example-app" and start Laravel Sail. curl -s "https://laravel.build/example-app" | bash cd example-app ./vendor/bin/sail up However, after running these commands I see the following error message: ERROR: ..

Read more

Hi I have my newly installed valet that gives me this error Fatal error: require(): Failed opening required ‘/Users/user/Desktop/myApp/public/index.php’ (include_path=’.:/Users/user/pear/share/pear’) in /Users/user/.composer/vendor/laravel/valet/server.php on line 221 any idea why im getting this error? this error is from ~/valet/server.php on last line of code require $frontControllerPath; this $frontControllerPath contains this "/Users/user/Desktop/myApp/public/index.php". Appreciate your help. Thank you Source: ..

Read more

I’m getting this error on my newly installed Laravel valet after running myApp.test Warning: require(/Users/username/Desktop/www/myApp/public/index.php): failed to open stream: Operation not permitted in /Users/username/.composer/vendor/laravel/valet/server.php on line 219 Fatal error: require(): Failed opening required ‘/Users/username/Desktop/www/myApp/public/index.php’ (include_path=’.:/usr/local/Cellar/[email protected]/7.3.28_1/share/[email protected]/pear’) in /Users/username/.composer/vendor/laravel/valet/server.php on line 219 Also, I can ping myApp.test PING myapp.test (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: ..

Read more

I get this error message on clone (I have windows, my colleague is working on mac machine): error: invalid path ‘public/C:UsersMy-PCDocumentsProjectsSamplestoragelogs/laravel.log’ fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with ‘git status’ and retry with ‘git restore –source=HEAD :/’ and when I try the ..

Read more

Laravel 8 To be exact: "laravel/framework": "^8.12", I have no idea why most of my routes working locally on Mac OS X, but giving me 404 on production Ubuntu 20. Local .test Prod .app These are my routes declation <?php use IlluminateSupportFacadesRoute; /* |————————————————————————– | Web Routes |————————————————————————– | | Here is where you can ..

Read more