我想用gruntjs 0.4建立一个新项目。我卸载了0.3并安装了grunt-cli和导入的grunt-init gruntfile。当我运行“咕噜-INIT gruntfile”它运行一样,它在0.3没有要求正常问题gruntjs grunt-init grunfile抛出错误致命错误:path.join的参数必须是字符串
Please answer the following: [?] Is the DOM involved in ANY way? (Y/n) y [?] Will files be concatenated or minified? (Y/n) y [?] Will you have a package.json file? (Y/n) y [?] Do you need to make any changes to the above before continuing? (y/N) n
然而,回答所有我得到的错误
Fatal error: Arguments to path.join must be strings
有其他人处理问题后有类似的东西,或者你能指点我正确的方向来调试吗?
嗨Sindre,你知道它是否被释放?我仍然遇到这个问题。 – landland 2013-03-16 19:21:10
其中包含修复的grunt 0.4.1已于13日发布。虽然这是一个普遍的破坏,所以你也可以用其他模块来体验它。我总是建议在升级Node.js或任何你依赖的平台之前等一会儿。从经验来看,事情总是会打破。 – 2013-03-18 08:57:07
使用watch命令也会发生在v0.10.7中 – 2013-08-19 18:43:13