question

Upvotes
1 0 0 0

refinitiv-ui/elements fails to compile

React app using today's version of refinitiv-ui/elements doesn't compile. Please supply the correct incantation.

Failed to compile.


./node_modules/@refinitiv-ui/elements/lib/button/index.js
Module not found: Can't resolve '@refinitiv-ui/core/decorators/custom-element.js' in '/Users/mark/repos/luvurwork/luvurwork-react-spike/nexus-react-ui/node_modules/@refinitiv-ui/elements/lib/button'

node v16.16

node v8.16.0

yarn v1.22.19

react v17.0.2

The following imports are in my app.js:

// Refinitiv-ui imports - themes must be imported to use the elements

import '@refinitiv-ui/elements/lib/loader';

import '@refinitiv-ui/elements/lib/button';

import '@refinitiv-ui/elements/lib/panel';

import '@refinitiv-ui/elements/lib/text-field';

import '@refinitiv-ui/elements/lib/password-field';

import '@refinitiv-ui/elements/lib/sparkline';

import '@refinitiv-ui/halo-theme/dark/imports/native-elements';

import '@refinitiv-ui/elements/lib/loader/themes/halo/dark';

import '@refinitiv-ui/elements/lib/button/themes/halo/dark';

import '@refinitiv-ui/elements/lib/panel/themes/halo/dark';

import '@refinitiv-ui/elements/lib/text-field/themes/halo/dark';

import '@refinitiv-ui/elements/lib/password-field/themes/halo/dark';

import '@refinitiv-ui/elements/lib/sparkline/themes/halo/dark';



compile
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers