node: command not found

I ran into a issue where “npm i” was never working. I continued to get this error. So i started moving this npm folder to different areas. I moved it to /tmp/hey and executed npm i and it worked. then i put the folder in /var/www/html/npm and it worked. Then I renamed the original npm folder to xnpm and put a copy in its place and it worked. then I wen into xnpm and it did’nt work. I checked to see if there was any hidden folders and their was’nt. so even though I renamed the folder to xnpm it still did’nt work. very wierd.

Leave a Reply

Your email address will not be published.