Skip to content

Error: Cannot find module 'li' #420

Open

Description

@matjack1

Hello,

I'm trying v2 and I've encountered this error:

Error: Cannot find module 'li'

Manually adding the package fixes the issue. Maybe you want to add that in your requirements?

Happy to test it again or provide more info if needed.

Activity

  1. kadamwhite commented on Feb 13, 2019

    @kadamwhite
    Collaborator

    Hello, @matjack1 ! Can you clarify what version of the library you are using? I believe this should have been fixed as of #416, if you npm install --save wpapi@1.2.1 it should pull in li as well.

  2. kadamwhite commented on Feb 13, 2019

    @kadamwhite
    Collaborator

    Ah, I misread your issue, you were asking about v2! Yes, that is fixed in master but we have not released a new alpha yet. I'll try to get one out later this week, but in the meantime your workaround makes sense.

    As this is fixed in master, I'm going to close the issue.

  3. matjack1 commented on Feb 19, 2019

    @matjack1
    Author

    Thanks, sorry I didn't notice it was fixed in master :(

  4. kadamwhite commented on Feb 20, 2019

    @kadamwhite
    Collaborator

    No apology necessary, @matjack1 ; thank you very much for raising the issue when you encountered it! That's what makes open source work :)

  5. theabhinavdas commented on Oct 10, 2021

    @theabhinavdas

    This issue still isn't fixed :) Please reopen and fix.

    I had to manually install li as well via npm i li.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions