Install MySQL on macOS

How To Install / Uninstall and Use Homebrew on macOS

How to install MySQL on macOS

Uninstall MySQL
brew uninstall mysql

Find out where MySQL is installed on Mac OS X

Bash VS Zsh: Differences and Comparison

What is the difference between .bash_profile and .bashrc?

Spurt Commerce Installation

online bcrypt-hash-generator

Error 2 : Command not found after npm install in zsh

Solution : If you installed Node.js using Homebrew, npm binaries can be found in /usr/local/share/npm/bin. You should make sure this directory is in your PATH environment variable. So, in your ~/.zshrc file add export PATH=/usr/local/share/npm/bin:$PATH

Command not found after npm install in zsh

Error 3 : nvm: Cannot uninstall currently-active node version, v15.6.0 (inferred from v15.6.0).

nvm: Cannot uninstall currently-active node version
Solution :
just type following cmd:
$ nvm deactivate
then type the uninstall cmd.

Brew install nvm. nvm: command not found
https://stackoverflow.com/questions/53118850/brew-install-nvm-nvm-command-not-found

Where is the .zshrc file on Mac?
https://newbedev.com/where-is-the-zshrc-file-on-mac

Install Node and NPM using NVM in Mac or Linux (Ubuntu)
https://medium.com/@lucaskay/install-node-and-npm-using-nvm-in-mac-or-linux-ubuntu-f0c85153e173

nvm –version

try `nvm ls-remote` to browse available versions.

curl –version

To install latest version

nvm install node

//to install the latest version
nvm install node
nvm use node
//to install a specific version number
nvm install 8.9 //to install node 8.9
nvm use 8.9
//to install the LTS version
nvm install –lts
nvm use –lts

You can install any number of versions of node and switch between versions at any time by running
nvm use desired-version

Now make sure npm was installed by running
npm -v

try `nvm ls-remote` to browse available versions.

https://nodejs.org/en/download/releases/

To install specific version

nvm install 12.16.0

To verify
node –version
npm –version

Git Info :
git remote show origin

Push to new branch. :
git branch aggregate
git checkout aggregate
git push -u origin aggregate

git checkout -b
Or
git push -u origin

Part 2

Could not find module “@angular-devkit/build-angular” from “/Users/veena/lookman/Prabha/sprt/sprt/admin”.

npm install –save-dev @angular-devkit/build-angular
=====
Zsh: command not found: webpack
Install it globally.
npm i -g webpack

If you will work with webpack, install webpack-dev-server too
npm i -g webpack-dev-server

ng version
npm uninstall -g @angular/cli
npm cache clean –force

npm install -g @angular/cli@7

npm list webpack
webpack –version
npm i -g webpack
nvm list
nvm use v12.20.2
npm install –save-dev @angular-devkit/build-angular

======
Could not resolve dependency:
npm ERR! peer class-validator@”^0.9.1″ from class-transformer-validator@0.7.1
npm ERR! node_modules/class-transformer-validator
npm ERR! class-transformer-validator@”^0.7.1″ from the root project
https://github.com/MichalLytek/class-transformer-validator/blob/master/README.md

====
Failed at the bcrypt@3.0.1 install script.

npm install –save bcryptjs && npm uninstall –save bcrypt
https://stackoverflow.com/questions/29320201/error-installing-bcrypt-with-npm/29320712

Part – 3

https://docs.spurtcommerce.com/Getting%20Started/Installation.html#initial-setups

https://www.spurtcommerce.com/nodejs-shoppingcart-ecommerce-api

MYSQL – Admin@123
MySQL Connection Name : AdminTest
User : root
Password : Admin@123
Database: Test

veena@VEENAs-MacBook-Pro api % npm run start
 [app] Application is crashed: Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES)

mysql -u root -p

mysql> select * from  user;
ERROR 1046 (3D000): No database selected
mysql> select * from  user
    -> 
    -> use mysql
    -> select * from  user
    -> truncate table user
    -> flush privileges
    -> grant all privileges on *.* to root@localhost identified by '' with grant option;
mysql> quit

Access denied for user ‘root@localhost’ (using password:NO)

https://flaviocopes.com/mysql-how-to-install/

How to Install Angular on Mac
How to Install Angular 10 on MacOS
How to Install Angular on Windows: A Guide to Angular CLI, Node.js, and Build Tools

Leave a Reply

Your email address will not be published. Required fields are marked *