OpusCapita/react-dates

Due to latest change in react-autocompletes@2.0.0, there is some error in react-dates

lakshgoel95 opened this issue · 6 comments

ERROR in /var/tmp/base/~/@opuscapita/react-dates/lib/DateVariants/DateVariants.react.js
Module not found: Error: Can't resolve '@opuscapita/react-autocompletes/lib/VerticalList' in '/var/tmp/base/node_modules/@opuscapita/react-dates/lib/DateVariants'

react-dates also require an update it seems. Can you please look into this

Looks strange cause @opuscapita/react-dates has fixed version of @opuscapita/react-autocompletes.

I just tried to use @opuscapita/react-dates@0.3.0-beta.13 and @opuscapita/react-autocompletes@2.0.2 together and everything is OK.

Which version of npm do you have?

I am using npm 5.4.0

Tried with npm 5.4.0 - everything works. Is there your project code somewhere at github to I can reproduce it?

pull from service einvoice-send, branch: fix/52
pull form service sales-invoice, branch: fix/2

I created codesandbox example where you can ensure that its works (except styles - it requires webpack config modification). https://82xpopjwr9.codesandbox.io/

Thanks. I will look into my code what issue it is. btw Did you try running the code from my branch?