Я использую grunt с yoman, и я получил эту ошибку. Теперь Я могу игнорировать это предупреждение с --force
, но он чувствует себя некомфортно.
Ошибка сервера grunt - не удалось создать каталог
[email protected]:~/testApp$ grunt serve
Running "serve" task
Running "clean:server" (clean) task
Running "concurrent:server" (concurrent) task
Warning: Running "copy:styles" (copy) task
Warning: Unable to create directory "/home/kim/testApp/.tmp" (Error code: EACCES). Use --force to continue.
Aborted due to warnings.
Execution Time (2015-01-20 11:25:22 UTC)
loading tasks 3ms ▇▇▇▇▇▇▇▇▇▇▇▇ 25%
copy:styles 9ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 75%
Total 12ms Use --force to continue.
Aborted due to warnings.
Execution Time (2015-01-20 11:25:20 UTC)
concurrent:server 1.9s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100%
Total 1.9s
[email protected]:~/testApp$
Возможно, это связано с тем, что у вас нет доступа на запись в каталог /home/kim/testApp/.tmp, для которого одновременная задача используется для временных файлов ... – Vishwanath