To fix this error is very simple: you just have tot clean your node modules:
$ grunt install:development Loading "Gruntfile.js" tasks...ERROR >> Error: Cannot find module 'lru-cache' Warning: Task "install:development" not found. Use --force to continue. Aborted due to warnings. john@C370012100004 /C/projects/nodejsp(develop) $ rm -rf node_modules && npm cache clean && npm install
Thanks a lot!
Thank you for posting this solution. Worked for me after struggling to find a solution for 3-4 hours. Thank you so much ! 🙂