mirror of
https://github.com/cocktailpeanut/dalai
synced 2024-11-23 04:16:53 +01:00
bc49b5ac0f
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)
|
|
})
|