mirror of
https://github.com/cocktailpeanut/dalai
synced 2025-03-31 04:49:17 +02:00

The path `node ./bin/cli setup` isn't working on some operating systems such as windows, because the forward slash is not recognized. Just create a setup.js file in the root path and call it without any path issues.
9 lines
181 B
JavaScript
9 lines
181 B
JavaScript
const Dalai = require("./index")
|
|
new Dalai().setup().then(() => {
|
|
console.log("executed setup")
|
|
process.exit(0)
|
|
}).catch((e) => {
|
|
console.log("Error", e)
|
|
process.exit(1)
|
|
})
|