342430
回复 (3)
引用 karlsun__legacy_5386cce8a087f456200fc1ee确保你安装了grunt模块 npm install grunt
@kingapple grunt-cli源码中的方法
try {
gruntpath = resolve('grunt', {basedir: basedir});
} catch (ex) {
gruntpath = findup('lib/grunt.js');
// No grunt install found!
if (!gruntpath) {
if (options.version) { process.exit(); }
if (options.help) { info.help(); }
info.fatal('Unable to find local grunt.', 99);
}
}
K
确保你安装了grunt模块 npm install grunt
参与回复
登录后即可参与回复。登录