I am trying to run a simple grunt
task using grunt-contrib-copy
, but it dies immediately on reaching the copy task, with this message:
Running "copy:main" (copy) task
Warning: EPERM, operation not permitted 'C:\Documents and Settings' Use --force to continue
Aborted due to warnings
I am running:
- Windows 7 64-bit (so
C:\Documents and Settings
doesn't exist) - node 0.10.28 (installed at
C:\nodejs
) - npm 1.4.9
- grunt-cli 0.1.13
- grunt 0.4.5
- grunt-contrib-copy 0.5.0
I have done a full-text search for "Documents and Settings" on both C:\nodejs
and my project folder (C:\Users\myusername\Documents\Programming\myprojectname
, with no spaces or parentheses in there), but nothing matches.
My copy
task definition is:
copy: {
main: {
files: [
{expand: true, cwd: 'src/core', src: '/**', dest: 'src/chrome/'},
{expand: true, cwd: 'src/core', src: '/**', dest: 'src/firefox/'}
]
}
},
What could be causing this error?