Previously, I successfully used grunt on this computer for other projects about 4 months ago. Recently, I tried to use grunt for a new project. Despite loading grunt globally and locally, when I type in $ grunt -v, it says grunt is not recognized. It seems like either grunt is not loaded or the path is incorrect. Any ideas on how to fix this issue?
Update: As of 5/16/2016, I followed a suggestion to load casper-cli both globally and locally, but the grunt command still fails. I also attempted to run another command 'casperjs', which has been working perfectly for the last year, but now that one is failing as well. It seems like all my commands are not functioning properly anymore. What could be causing this sudden issue?