GeekyAnts / GeekyAnts/NativeBase

Can't resolve 'lodash'

Open
#5,576 2 comments 0 reactions 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

When installing nativebase on a nextjs project, I get an error about 'lodash' not being found

### CodeSandbox/Snack link

https://codesandbox.io/p/sandbox/boring-hopper-fvj9qz

### Steps to reproduce

1. Create a nextjs project
2. Install native-base
3. Run app
4. See error

### NativeBase Version

3.4.23

### Platform

- [ ] Android
- [ ] CRA
- [ ] Expo
- [ ] iOS
- [X] Next

### Other Platform

_No response_

### Additional Information

[This file](https://github.com/GeekyAnts/NativeBase/blob/master/src/components/composites/FormControl/useFormControl.tsx) imports from `lodash` but [`lodash` isn't marked as a dependency](https://github.com/GeekyAnts/NativeBase/blob/master/package.json) (only its subpackages)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.