$ rhapsody-cli new myapp
Scaffolding myapp
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
AppData\Roaming\npm\node_modules\rhapsody-cli\scaffolders\appScaffolder.js:23
throw err;
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
at maybeCallback (fs.js:143:9)
at Object.exists (fs.js:207:3)
at Object.copySync (AppData\Roaming\npm\node_modules\rhapsody-cli\node_modules\fs-extra\lib\copy.js:62:23)
at scaffoldApp (AppData\Roaming\npm\node_modules\rhapsody-cli\scaffolders\appScaffolder.js:19:6)
at Object.cb (AppData\Roaming\npm\node_modules\rhapsody-cli\commands\new.js:11:4)
at ArgParser.parse (AppData\Roaming\npm\node_modules\rhapsody-cli\node_modules\nomnom\nomnom.js:302:15)
at Object. (AppData\Roaming\npm\node_modules\rhapsody-cli\index.js:49:8)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32) {
code: 'ERR_INVALID_CALLBACK'
}
$ npm install rhapsody-cli --global
$ rhapsody-cli new myapp Scaffolding myapp TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined AppData\Roaming\npm\node_modules\rhapsody-cli\scaffolders\appScaffolder.js:23 throw err; ^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined at maybeCallback (fs.js:143:9) at Object.exists (fs.js:207:3) at Object.copySync (AppData\Roaming\npm\node_modules\rhapsody-cli\node_modules\fs-extra\lib\copy.js:62:23) at scaffoldApp (AppData\Roaming\npm\node_modules\rhapsody-cli\scaffolders\appScaffolder.js:19:6) at Object.cb (AppData\Roaming\npm\node_modules\rhapsody-cli\commands\new.js:11:4) at ArgParser.parse (AppData\Roaming\npm\node_modules\rhapsody-cli\node_modules\nomnom\nomnom.js:302:15) at Object. (AppData\Roaming\npm\node_modules\rhapsody-cli\index.js:49:8)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32) {
code: 'ERR_INVALID_CALLBACK'
}
nodejs v13.7.0 npm 6.13.6