https://linen.dev logo
Join DiscordCommunities
Powered by
# haxe-ui
  • h

    happy-agent-4114

    05/17/2023, 9:05 PM
    the error happens whenever I import something from haxeui-core outside a standalone app
  • h

    happy-agent-4114

    05/17/2023, 9:05 PM
    yeah I'm really not sure what I changed
  • b

    bright-gpu-74537

    05/17/2023, 9:06 PM
    its basically impossible for me to debug your env
  • b

    bright-gpu-74537

    05/17/2023, 9:07 PM
    i would remove all libs one by one, or better yet add them one by one to the clean the project
  • h

    happy-agent-4114

    05/17/2023, 9:07 PM
    no yeah it's literally just
  • h

    happy-agent-4114

    05/17/2023, 9:07 PM
    hold on
  • h

    happy-agent-4114

    05/17/2023, 9:10 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1108501896722923641/image.png▾

  • h

    happy-agent-4114

    05/17/2023, 9:11 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1108501946693861406/image.png▾

  • h

    happy-agent-4114

    05/17/2023, 9:11 PM
    just importing it makes the language server break
  • p

    powerful-morning-89

    05/17/2023, 9:11 PM
    You need to add a haxeui backend such as haxeui-html5.
  • b

    bright-gpu-74537

    05/17/2023, 9:11 PM
    wait... you didnt do that??
  • h

    happy-agent-4114

    05/17/2023, 9:11 PM
    same error
  • b

    bright-gpu-74537

    05/17/2023, 9:12 PM
    what does "run.hxml" show?
  • h

    happy-agent-4114

    05/17/2023, 9:12 PM
    it's on the right panel
  • h

    happy-agent-4114

    05/17/2023, 9:12 PM
    oh you mean when I run it
  • b

    bright-gpu-74537

    05/17/2023, 9:12 PM
    so, yeah... there is no backend
  • h

    happy-agent-4114

    05/17/2023, 9:12 PM
    nothing it's literally just there for the completion provider
  • b

    bright-gpu-74537

    05/17/2023, 9:12 PM
    you havent "chosen" one
  • h

    happy-agent-4114

    05/17/2023, 9:13 PM
    then how is it possible to write something that works on multiple backends
  • h

    happy-agent-4114

    05/17/2023, 9:13 PM
    a module I mean
  • b

    bright-gpu-74537

    05/17/2023, 9:13 PM
    by using multiple hxmls
  • b

    bright-gpu-74537

    05/17/2023, 9:14 PM
    i dont understand what magic you thought was possible 😄
  • h

    happy-agent-4114

    05/17/2023, 9:14 PM
    I'm writing a module that can't be compiled alone
  • h

    happy-agent-4114

    05/17/2023, 9:14 PM
    I just needed the completion features which should work with just the core (or I thought)
  • b

    bright-gpu-74537

    05/17/2023, 9:15 PM
    then you are writing your module wrong... you dont need an .hxml for a haxeui module, but you do need a backend for haxeui to even make sense
  • h

    happy-agent-4114

    05/17/2023, 9:15 PM
    except I do so that completion features work
  • h

    happy-agent-4114

    05/17/2023, 9:16 PM
    otherwise it pretends I don't have haxeui
  • p

    powerful-morning-89

    05/17/2023, 9:16 PM
    haxeui-core is not designed to work without a backend. So for completion to work you will need a dummy hxml that includes both haxeui-core and a backend lib (doesn't matter which one)
  • b

    bright-gpu-74537

    05/17/2023, 9:16 PM
    maybe use "haxeui-blank"? Or rethink how you are trying to dev your module
  • h

    happy-agent-4114

    05/17/2023, 9:16 PM
    > haxeui-blank what
1...167116721673...1687Latest