Laravel5 on windows7 xampp - laravel

I installed laravel5 on windows successfully. but showing errors when i copy codes from here want to install any other dependencies?
i got something like this(screenshot). also it is keep saying to update loadash and graceful-fs.. How to do that?
Screenshot

You need to install a better command line tool then Command Prompt. Try installing Git Bash
Once you've done this I would suggest going through the Laravel installation here

Related

MacOS MAMP and php 8.1

I am trying to get MAMP runing with PHP 8.1 but what I see as latest version for MacOS is 8.0.8, is there a way to run 8.1 ?
I have gone thru many tutorials in which they explain on how to switch from one of the installed versions but I can't seem to find a way to install additional PHP versions.
following up relating to #Quink's answer
8.1.0 is available in the dropdown (not in the picture because I already downloaded it)
then quit and restart mamp
then you can find the folder by opening phpinfo page and seeing the path
not sure if this is needed, but at this point I copied the folder and pasted it in the main MAMP/conf directory where all the other PHP versions are
I was looking for this myself. I found out that the easiest way to do this is to start your trial version of the pro. There you have the option to download/ install the php8.1 version. After this I switched back to the basic MAMP and everything is working properly
Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
get latest php version i.e. 8.1 for now
brew install php
Verify php
which php
php -version
now go to to /usr/loca/Cellar/php, copy php version folder you want i.e. 8.1 for now
go to Application/MAMP/bin/php and paste this folder
rename your folder like others i.e. "8.1.10_1" to "php8.1.10" in my case
at this point you can quite the mamp and reopen it and you will see php8.1 version in your mamp php version's dropdown
now go to your terminal and
/Applications/MAMP/Library/bin/apachectl start
and you will see an error i.e. Syntax error on line 160 of /Applications/MAMP/conf/apache/httpd.conf... in my case
to resolve this go to /usr/local/lib/httpd/ and copy the "modules" folder
now past it in /Applications/MAMP/bin/php/php8.1.10/
YOUR MAMP IS ALL SET BUT if you try to reach phpadmin you will see an error, for that
go to /Applications/MAMP/bin/phpMyAdmin5 and edit config.inc.php.
Locate this text: $cfg['Servers'][$i]['host'] = 'localhost' and change it to ``$cfg['Servers'][$i]['host'] = '127.0.0.1'`
Restart your server.
HOPE THIS HELP YOU
This YouTube Video answers this perfectly, and then follow this SO answer
You might also want to change your local connection host from localhost to 127.0.0.1
PS: Copy /usr/local/Cellar/php/8.<version_number>/lib/httpd/modules/libphp.so to /Applications/MAMP/bin/php/php8.<version_number>/modules/libphp.so

No module named 'xlsxwriter'

I'm trying to install xlsxwriter. I'm using VS Code. I installed two different versions of python when I set this up. When I use 'pip install xlsxwriter' it says it's successfully installed, but when I run the code it brings back the above error. (No module named 'xlsxwriter') I'm using 'import xlsxwriter'.
I've tried uninstalling it, installing wheel, and then trying to install it again, but I'm getting the same error.
How do I make sure I'm installing xlsxwriter correctly?
thank you!
I've been able to get the file to run by typing, 'python3 (file name)' but is there a way to change what vs code automatically runs? when I type, 'python --version' it comes back as 2.7.
I'm looking in the command palette, but I'm not seeing python3. I'll keep looking around online, but any help would be wonderful.

Install of Laravel Valet with Composer is giving a Command not Found error in Mac OS

Currently, I am in the process of installing Laravel Valet for the purpose of using it to locally develop with Kirby CMS.
I am following these instructions, once I try to install Valet I get a "command not found" error. After looking at other threads I attempted to find my device's Path using this code:
echo $PATH
In response I got this:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/tohumakind/.config/composer/vendor/bin:/Users/tohumakind/.composer/vendor/bin:/Users/tohumakind/.composer/vendor/bin:/Users/tohumakind/.composer/vendor/bin
I wasn't sure what to do in regard to installing Valet? It looks like Composer is installed in my User folder? There's only one user on this device. Do I need to move it Composer to a different part of my computer?
I tried using this line, as recommended in a different thread, but it didn't do anything to solve the 'command not found issue':
export PATH=$PATH:~/.composer/vendor/bin
In 2019 Apple has replaced bash with zsh as the default shell in macOS Catalina and later. To add path to your zsh shell, this command should work:
echo "export PATH=$PATH:$HOME/.composer/vendor/bin" >> ~/.zshrc
Make sure to restart your terminal for changes to be applied.

Anaconda Installation Error

I am trying to reinstall anaconda 64 bit on Windows 10 to use Python 3.6 and the installations works right till the end but it fails executing the post install script with following error.
You have some missing files, try to uninstall and download it again. Don't try to pause the files, it might cause these kind of errors.
I got it running after installing in a different directory. Just make sure you don't install it in the default location provided. I made a new directory in C-Drive and installed anaconda in it. My install location is C:\Anaconda3. And it worked finally

Running .sh file on Windows in git bash gives an error: Unable to find Digest::SHA or Digest::SHA::PurePerl

Good day to all!
While trying to build a fork of scala from github on my local PC and running
pull-binary-libs.sh in git bash I receive such an error:
Unable to find Digest::SHA or Digest::SHA::PurePerl
Trouble downloading 943cd5c8802b2a3a64a010efb86ec19bac142e40/lib/ant/ant-contrib
.jar. Please try pull-binary-libs again when your internet connection is stable
I can't figure out what's happening. I am a new bie to git, that's why maybe I am missing something. Any help will be appreceated.
P.S. I tried to install cygwin to ryn script from it, but I have problems during installation that constantly interrupt it. So I am using git bash instead.
UPDATE: I tried to install modules using СPAN. I even had successfully installed PurePerl and SH1 as CPAN messages reported. While trying to insall Digest::SHA I receive some errors connected with nmake. And while trying to run scripts again I get errors mentioned above.
It sounds like you are missing Perl modules that Scala's build system requires.
See How to Install CPAN Modules.

Resources