pomelo icon indicating copy to clipboard operation
pomelo copied to clipboard

fs.js:137 throw new ERR_INVALID_CALLBACK(); ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at makeCallback (fs.js:137:11) at Object.mkdir (fs.js:719:14) at start (/usr/local/lib/node_modules/pomelo/bin/pomelo:347:8) at Command.<anonymous> (/usr/local/lib/node_modules/pomelo/bin/pomelo:65:5) at Command.<anonymous> (/usr/local/lib/node_modules/pomelo/node_modules/[email protected]@commander/index.js:249:8) at Command.emit (events.js:182:13) at Command.parseArgs (/usr/local/lib/node_modules/pomelo/node_modules/[email protected]@commander/index.js:472:12) at Command.parse (/usr/local/lib/node_modules/pomelo/node_modules/[email protected]@commander/index.js:370:21) at Object.<anonymous> (/usr/local/lib/node_modules/pomelo/bin/pomelo:142:9) at Module._compile (internal/modules/cjs/loader.js:688:30)

Open iiccttff opened this issue 6 years ago • 5 comments

fs.js:137 throw new ERR_INVALID_CALLBACK(); ^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at makeCallback (fs.js:137:11) at Object.mkdir (fs.js:719:14) at start (/usr/local/lib/node_modules/pomelo/bin/pomelo:347:8) at Command. (/usr/local/lib/node_modules/pomelo/bin/pomelo:65:5) at Command. (/usr/local/lib/node_modules/pomelo/node_modules/[email protected]@commander/index.js:249:8) at Command.emit (events.js:182:13) at Command.parseArgs (/usr/local/lib/node_modules/pomelo/node_modules/[email protected]@commander/index.js:472:12) at Command.parse (/usr/local/lib/node_modules/pomelo/node_modules/[email protected]@commander/index.js:370:21) at Object. (/usr/local/lib/node_modules/pomelo/bin/pomelo:142:9) at Module._compile (internal/modules/cjs/loader.js:688:30)

iiccttff avatar Nov 06 '18 05:11 iiccttff

这坑好深,我也遇到了。 查遍了所有地方,找不到解决的方法。 我怀疑,是node的版本、或者是pomelo的版本有问题 。。

ChenEgou avatar Nov 14 '18 11:11 ChenEgou

node10 有问题,可以用下面这个 https://github.com/sex-pomelo/sex-pomelo

shudingbo avatar Nov 15 '18 02:11 shudingbo

node10 有问题,可以用下面这个 https://github.com/sex-pomelo/sex-pomelo

这是个新的项目么 ?

ChenEgou avatar Nov 15 '18 03:11 ChenEgou

node10 有问题,可以用下面这个 https://github.com/sex-pomelo/sex-pomelo

这是个新的项目么 ?

新成立的社区,维护pomelo

shudingbo avatar Nov 15 '18 03:11 shudingbo

这个问题是node新版本导致的问题。 我在版本修复了 https://github.com/xhlacc/cc-pomelo

xhlacc avatar Dec 06 '18 07:12 xhlacc