Gruntjs Grunt服务器自动刷新器错误

Gruntjs Grunt服务器自动刷新器错误,gruntjs,Gruntjs,我一直在开发一个web应用程序,并使用Yeoman附带的grunt服务器。但是,毫无原因,当我今天去运行它时,出现了以下错误: Running "clean:server" (clean) task Cleaning .tmp...ERROR Warning: Unable to delete ".tmp" file (EACCES, permission denied '.tmp/styles'). Use --force to continue. 如何解决此错误?您运行grunt的用户是否

我一直在开发一个web应用程序,并使用Yeoman附带的grunt服务器。但是,毫无原因,当我今天去运行它时,出现了以下错误:

Running "clean:server" (clean) task
Cleaning .tmp...ERROR
Warning: Unable to delete ".tmp" file (EACCES, permission denied '.tmp/styles'). Use --force to continue.

如何解决此错误?

您运行grunt的用户是否有权访问
.tmp/styles
?我在sudo下运行它,我不知道如何检查该文件的访问权限