Skip to content

Upgrading @elastic/eui from 40.1.0 to 41+, cannot find module ../../../test #5605

@sheldonimrsv

Description

@sheldonimrsv

Hi, when updating @elastic/eui from 40.1.0 to 41.0.0 up to the current 46, have the following error:

Creating an optimized production build...
Failed to compile.
/home/node/node_modules/@elastic/eui/es/components/datagrid/body/data_grid_body.js
Cannot find module: '../../../test'. Make sure this package is installed.
You can install this package by running: yarn add ../../../test.

Suspect the error is triggered by line 56 of data_grid_body.js:

import { IS_JEST_ENVIRONMENT } from '../../test';

Any advice is appreciated :)

Metadata

Metadata

Assignees

Labels

⚠️ needs validationFor bugs that need confirmation as to whether they're reproducible

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions