node-wpapi icon indicating copy to clipboard operation
node-wpapi copied to clipboard

Error: Cannot find module 'li'

Open matjack1 opened this issue 6 years ago • 5 comments

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.

matjack1 avatar Feb 11 '19 10:02 matjack1

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 [email protected] it should pull in li as well.

kadamwhite avatar Feb 13 '19 17:02 kadamwhite

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.

kadamwhite avatar Feb 13 '19 17:02 kadamwhite

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

matjack1 avatar Feb 19 '19 20:02 matjack1

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

kadamwhite avatar Feb 20 '19 19:02 kadamwhite

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

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

theabhinavdas avatar Oct 10 '21 02:10 theabhinavdas