angular-ui / ui-date

jQuery UI Datepicker for AngularJS
http://angular-ui.github.io/ui-date/
MIT License
266 stars 207 forks source link

Can't resovle module ''jquery-ui/datepicker" #169

Open briefguo opened 8 years ago

briefguo commented 8 years ago

Hello, this is my first issue

1.After I del the directory "node_modules", run npm i again to reinstall the newest "angular-ui-date" and "jquery-ui".

I found that jquery-ui's directory has changed

import _datePicker from 'jquery-ui/datepicker'; // sets up jQuery with the datepicker plugin
qetr1ck-op commented 8 years ago

The same issue... With version 1.x appears the dependency jquery-ui/datepicker. Essentially it cannot be resolved. For my solution, I've downgraded to 0.x

boutils commented 8 years ago

Same here...

tylerreinhart commented 8 years ago

Same

Andrew-Max commented 8 years ago

:+1:

brycehill commented 7 years ago

I ran into this too. I was able to fix it by using webpack's resolve.alias feature:

resolve: {
  alias: {
    'jquery-ui/datepicker': 'jquery-ui/ui/widgets/datepicker'
  }
}