摘要:
描述: 上代码var ps = require('child_process').spawn("npm", ['install'], { stdio: 'inherit', cwd: srcPath});ps.on('error', function(err) { console.log(err);});ps.on('exit', function (err) { console.log('exit');});执行报[Error: spawn ENOENT]原因,windows下 阅读全文
posted @ 2014-03-03 18:14
雪霁霜飞
阅读(42808)
评论(1)
推荐(2)