caminte
caminte copied to clipboard
error using caminte -i -a mysql
caminte -i -a mysql fs.js:114 throw err; ^
Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/caminte-cli/bin/../templates/Model.ejs'
at Object.openSync (fs.js:443:3)
at Object.readFileSync (fs.js:343:35)
at Object.
replaced Model.ejs to model.ejs ok
caminte -i -a mysql
destination is not empty, continue? [y/N] y Add the following strings to your express app.js:
var models = require('./models'); models.init(app);
fs.js:128 throw new ERR_INVALID_CALLBACK(); ^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at maybeCallback (fs.js:128:9) at Object.writeFile (fs.js:1163:14) at write (/usr/local/lib/node_modules/caminte-cli/bin/caminte:743:8) at /usr/local/lib/node_modules/caminte-cli/bin/caminte:647:13 at /usr/local/lib/node_modules/caminte-cli/node_modules/async/dist/async.js:3888:9 at /usr/local/lib/node_modules/caminte-cli/node_modules/async/dist/async.js:473:16 at iteratorCallback (/usr/local/lib/node_modules/caminte-cli/node_modules/async/dist/async.js:1064:13) at /usr/local/lib/node_modules/caminte-cli/node_modules/async/dist/async.js:969:16 at /usr/local/lib/node_modules/caminte-cli/node_modules/async/dist/async.js:3885:13 at /usr/local/lib/node_modules/caminte-cli/bin/caminte:764:26