Wednesday, December 14, 2016

grunt - cannot find module "*foo*"

If grunt cannot find a npm module, make sure the module installed with --save-dev flag.

Like this:

npm install less-plugin-autoprefix --save-dev

instead of:

npm install less-plugin-autoprefix -g

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...