Posts

RESTFUL API – HTTP CODE 422 – Unprocessable Entity

Image
  The HyperText Transfer Protocol (HTTP)  422  Unprocessable Entity response  status code  indicates that the server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions.

Error: Cannot find module 'read-pkg-up'

  All npm issues such as : Error: Cannot find module 'interpret' Error: Cannot find module 'read-pkg-up' Error: Cannot find module 'lru-cache' Solution Delete file : package-lock.json Run in the terminal $npm upgrade

How to fix Satori 80004005 error ?

  MRE1=92 -2147467259 SaveReport failed to save the file "0429C038" for report 364. (error 80004005) Make Sure All parameters are passed satoriTemplateClass standard-letter records_count 287 permit_number 892 piece_height 8.5 piece_weight 0 piece_width 0 piece_thickness 0.0294 post_office_drop_date 2021-03-24 presort_class standard post_office_drop_date. 2021-03-24 postage category - letter - flat - postcard presort class firstClass standard nonprofit

How to Install Serverless on a Mac ?

  How to Install Serverless on a Mac ? Install Node server brew install node Install serverless npm install -g serverless Configure Serverless serverless config credentials --provider aws -o --key XXXXXXXXXXXXXXXXX --secret XXXXXXXXXXXXXXXXXX Serverless Login serverless login Serverless Deploy serverless deploy

Redis MAC

brew update brew install redis To Start brew services start redis to stop  brew services stop redis Or, if you don't want/need a background service you can just run: redis-server /usr/local/etc/redis.conf Test if Redis server is running. redis-cli ping If it replies “PONG”, then it’s good to go! Location of Redis configuration file. /usr/local/etc/redis.conf Uninstall Redis and its files. brew uninstall redis rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

How to switch PHP version on a mac with brew?

  $ brew unlink php@7.2 $ brew link php@7.3 --force --overwrite