Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Some missing dependencies #1

Open
maartendraijer opened this issue Sep 15, 2018 · 1 comment
Open

Some missing dependencies #1

maartendraijer opened this issue Sep 15, 2018 · 1 comment

Comments

@maartendraijer
Copy link

Hi! Thanks for this library. After installing (using yarn add semantic-redux-form-fields) I got a few missing dependency errors:

Module not found: Can't resolve 'moment' in '/x/node_modules/semantic-redux-form-fields/lib'
Module not found: Can't resolve 'react-datepicker' in '/x/node_modules/semantic-redux-form-fields/lib'

After installing the dependencies (yarn add moment && yarn add react-datepicker) it worked.

Thanks!

@mariusespejo
Copy link
Owner

@maartendraijer both moment and react-datepicker are listed as peerDependencies in the package.json, which means you should get a message during install that they are required if you don't already have them installed. I might consider moving those as direct dependencies but I figured moment for example is something a lot of people already typically have installed if you're dealing with dates in your codebase

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants