Patternfly-react: React table throws Can't resolve lodash-es in v2.11.1

Created on 12 Jun 2019  ·  3Comments  ·  Source: patternfly/patternfly-react

I'm getting the following error after updating to latest react-tables, v2.11.1.

Failed to compile.

./node_modules/@patternfly/react-table/dist/esm/components/Table/base/body.js
Module not found: Can't resolve 'lodash-es' in '/home/spytec/Documents/JavaScriptProjects/telltale-ui/node_modules/@patternfly/react-table/dist/esm/components/Table/base'
P0 PF4 bug

Most helpful comment

[email protected] is currently a peer dependency of @patternfly/react-table. If you npm i --save [email protected] in your project, the import should resolve. A new release will be out soon that includes it as just a normal dependency.

All 3 comments

Ditto this issue, @dgutride ⛑ 🙇 😱 ❤️

[email protected] is currently a peer dependency of @patternfly/react-table. If you npm i --save [email protected] in your project, the import should resolve. A new release will be out soon that includes it as just a normal dependency.

Please repoen if @patternfly/[email protected] still has these issues!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rudi3 picture Rudi3  ·  7Comments

crackcomm picture crackcomm  ·  4Comments

dlabrecq picture dlabrecq  ·  5Comments

eyevana picture eyevana  ·  7Comments

seanforyou23 picture seanforyou23  ·  6Comments