Module not found: Can't resolve 'react-datepicker/dist/react-datepicker.css' in v2.9.0

See original GitHub issue

Describe the bug Looks like the package folder is missing dist folder after 2.9.0 release causing webpack build to fail due to the missing ‘react-datepicker/dist/react-datepicker.css’ file

image

To Reproduce Steps to reproduce the behavior:

Install 2.9.0 version and import ‘react-datepicker/dist/react-datepicker.css’ file in one of your components

Desktop (please complete the following information):

  • OS: Mac

Additional context Node: 12.9.0 NPM: 6.10.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:14
  • Comments:30 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
izaakfcommented, Dec 2, 2019

getting this error on v2.10.1

4reactions
tuttiflirtycommented, Aug 29, 2019

Thx @martijnrusschen ! All working now 💯

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module not found: Can't resolve 'react-datepicker
I have resolved this problem Type npm install react-datepicker --save in terminal on local environment or on production.
Read more >
react-datepicker - npm
A simple and reusable datepicker component for React. ... Start using react-datepicker in your project by running `npm i react-datepicker`.
Read more >
Module not found: Can't resolve 'react-datepicker' [Solved]
To solve the error "Module not found: Can't resolve 'react-datepicker'", make sure to install the react-datepicker package before importing from it.
Read more >
jsweetman-react-datepicker - npm package - Snyk
A simple and reusable datepicker component for React, forked from https://github.com/Hacker0x01/react-datepicker For more information about how to use this ...
Read more >
Getting started with react-datepicker - Retool
Nobody likes working with dates (especially in Javascript) but we all have to. If your app requires a date picker component (think: select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found