• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] New to this, and I have no idea what this means.

  • 3
    Posts
    2
    Years
    • Seen Jun 8, 2023
    Hi! I'm new to Essentials and recently while compiling I encounter this error. Please let me know if you know how to fix it.

    [Pokémon Essentials version 20.1]
    [v20.1 Hotfixes 1.0.7]

    Exception: NoMethodError
    Message: undefined method `<=' for nil:NilClass

    Backtrace:
    381:Compiler_CompilePBS:1491:in `block (2 levels) in compile_trainers'
    381:Compiler_CompilePBS:1490:in `each'
    381:Compiler_CompilePBS:1490:in `block in compile_trainers'
    380:Compiler:242:in `block (2 levels) in pbCompilerEachPreppedLine'
    380:Compiler:234:in `each_line'
    380:Compiler:234:in `block in pbCompilerEachPreppedLine'
    380:Compiler:231:in `open'
    380:Compiler:231:in `pbCompilerEachPreppedLine'
    381:Compiler_CompilePBS:1439:in `compile_trainers'
    380:Compiler:774:in `compile_pbs_files'
     
    In short, it's a type mismatch error. In this case, you're trying to compare objects of a class that doesn't have <= defined as an operator.
     
    I don't think I have <= anywhere in my PBS files but I'm probably reading this the wrong way.
     
    Back
    Top