@josephkagimu1 Basing on the logs the error is originating from the node version you are running you need to upgrade it. To solve this:
- Go to the path where you can find the debug log (this file is found in your npm-cache folder) C:\Users\IT- Students\AppData\Local\npm-cache_logs\
- Delete the NPM and NPM-Cache folder, but DO NOT reinstall node. Once deleted go back to your command line and re-use the command " npm install -g npm@latest "
@josephkagimu1 for curiosity you may also want to follow this link: GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions and learn about NVM (Node Version Manager). Once installed on your local machine, it will be very helpful whenever need arises to switch to a specific node version required by the specific application. You may not want to miss this.
thanks every one for the nice direction
Am sorry. Go to the path where you can find the debug log( this file is found in your npm-cache folder) C:\Users\IT- student\AppData\Roaming. Delete the NPM and NPM-Cache folder, but DO NOT reinstall node . once deleted go back to your comand line and re-use the command " npm install -g npm@latest "
@josephkagimu1 am sorry I don’t the path to the 2 folders on your machine but I believe you can easily trace them. Besides it will okay to share the output and what you have tried out so that it can help those willing to guide on the way forward.