Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win环境运行出错 #24

Open
buhu2k opened this issue May 5, 2023 · 0 comments
Open

win环境运行出错 #24

buhu2k opened this issue May 5, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@buhu2k
Copy link

buhu2k commented May 5, 2023

import {configs} from './config.js'这个原来没有{}出错,改成如下通过。请在github 中修改一下

/* eslint-disable sort-keys /
/
eslint-disable no-console */

import { VikaBot } from './plugins/vika.js'
import {configs} from './config.js'

const vikaConfig = {
spaceName: process.env['VIKA_SPACENAME'] || configs.VIKA_SPACENAME,
token: process.env['VIKA_TOKEN'] || configs.VIKA_TOKEN,
}
const vika = new VikaBot(vikaConfig)

async function init (): Promise {
await vika.init()
}

// async function getFields (datasheetId: string): Promise {
// await vika.getSheetFields(datasheetId)
// }

// void getFields('dstKiDu2sEAXJGvsJR')

void init()

@choogoo choogoo added help wanted Extra attention is needed good first issue Good for newcomers and removed help wanted Extra attention is needed labels May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants