Tag: sprite

grunt-spritesmithconfiguration在gruntfile.js上无法正常工作

在我的gruntfile.js中,我为插件生成了精灵。 我必须说,一切都已经configuration好了,spritesmith通过npm install来安装,插件是package.json中的一个依赖项。 但还有其他的东西阻塞了我的精灵命令的执行 sprite:{ dist: { src: ['css/theme/images/*.jpg'], destImg: 'css/theme/sprite/sprite.jpg', destCSS: 'css/theme/sprite/spritejpg.css' } }, 这是我的结果,但是这个消息并不是最好的。 C:\wamp\www\myproject>grunt sprite Running "sprite:dist" (sprite) task Fatal error: spawn ENOENT 它可能是什么?