Giter VIP home page Giter VIP logo

Comments (7)

batu1579 avatar batu1579 commented on June 25, 2024

现在应该已经修复辣~

from hamibot-starter.

spirit223 avatar spirit223 commented on June 25, 2024

fork这个仓库后直接打包还是会出现
The 'show console' field in the configuration is invaild
这个控制台检查是无法绕过的吗,我检查了我的config.json里面json数组第二个对象的"value"字段是true, 并且我的hamibot悬浮窗权限已经开始并可以正常使用hamibot悬浮球
如果不可绕过那我应该通过什么办法才能够正常运行脚本?

from hamibot-starter.

batu1579 avatar batu1579 commented on June 25, 2024

抱歉我才看到,我这里是可以正常使用的。你试试用那个VSCode的插件直接创建项目,我刚新建了一个跑起来是没有报错的。

// index.ts 中的代码
import {} from "./global";
import { init } from "./lib/init";

init();

log(hamibot.env)

image

但是好像默认值的设置有问题,我正在检查。

from hamibot-starter.

batu1579 avatar batu1579 commented on June 25, 2024

现在应该没有问题了,我调整了默认值的字段(问了一下才知道默认值的字段是 default QAQ)

from hamibot-starter.

spirit223 avatar spirit223 commented on June 25, 2024

十分感谢🥰

from hamibot-starter.

wanafan avatar wanafan commented on June 25, 2024

17:42:08.075/E: Error: The 'SHOW CONSOLE' field in the configuration is invalid, undefined. please check it again ! (6534c6390cfca0f22cbca128.js#763)
Error: The 'SHOW CONSOLE' field in the configuration is invalid, undefined. please check it again !
at 6534c6390cfca0f22cbca128.js:763:0
at 6534c6390cfca0f22cbca128.js:4:0

貌似和前面的大哥一样错误,使用的都是最新的软件版本

from hamibot-starter.

jianghaodn avatar jianghaodn commented on June 25, 2024

17:42:08.075/E: Error: The 'SHOW CONSOLE' field in the configuration is invalid, undefined. please check it again ! (6534c6390cfca0f22cbca128.js#763) Error: The 'SHOW CONSOLE' field in the configuration is invalid, undefined. please check it again ! at 6534c6390cfca0f22cbca128.js:763:0 at 6534c6390cfca0f22cbca128.js:4:0

貌似和前面的大哥一样错误,使用的都是最新的软件版本

我之前也是这个错误,然后我修改了global.ts当中的部分判断,让它不要去检查就行了。新版的我还没用

from hamibot-starter.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.