I am having issues installing local grunt in my plone theme. My OS is Ubuntu 16.04 and I have the following installed:
$ node --version
v6.11.0
$ npm --version
3.10.10
$ grunt --version
grunt-cli v1.2.0
I have also done the following:
$ sudo cd src/plonetheme.shared
$ sudo npm install grunt --save-dev
$ sudo cd src/plonetheme.shared/src/plonetheme/shared/theme
$ sudo npm install bootstrap --save
However, when I run
zeocluster/src/plonetheme.shared/src/plonetheme/shared/theme$ sudo grunt
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'autoprefixer'
Warning: Task "default" not found. Use --force to continue.
Aborted due to warnings.
Am I missing something? Any advise would be most appreciated.