atlaskit dependency causes error

ksydex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 19, 2022

Hello! I tried to use editor from atlaskit so i installed editor-code@163.0, media-core@66.0 deps but it won't start because of an error:

Module not found: Can't resolve 'react-intl-next' in '...\node_modules\@atlaskit\editor-common\dist\esm\messages'

On https://www.npmjs.com/package/react-intl-next it says that the package is removed due to some security issues. 
How to make it work? 
Thanks.

7 answers

Suggest an answer

Log in or Sign up to answer
5 votes
ung0v
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 21, 2022

i have same problems when install @atlaskit/user-picker.

any helps ? Thanks.

3 votes
Dang Thi Thuy Tien
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2022

I solved this problem with these dependencies

"dependencies": {
"react-intl-next": "npm:react-intl@^5.25.1",
}
0 votes
Dang Thi Thuy Tien
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 19, 2022

Hi,
I got the same problem when I try to update "@atlaskit/renderer"

"@atlaskit/renderer": "^85.0.0",
"dependencies": {
......
"@atlaskit/renderer": "^85.0.0",
......
"react-intl": "2.8.0",
"react-intl-next": "^0.0.1-security",
"react-query": "^3.24.3",
....
}

 The error message :

Failed to compile.

./node_modules/@atlaskit/editor-common/dist/esm/messages/codeBidiWarning.js
Module not found: Can't resolve 'react-intl-next' in .....

0 votes
Dang Thi Thuy Tien
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 19, 2022

Hi, any update here? 

0 votes
Camila Araldi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 19, 2022

Same problem, any news about it?

0 votes
Tim Kovalev June 16, 2022

adding this to package.json will probably help

```

"react-intl-next": "npm:react-intl@^5.18.1",

```

0 votes
Kamil Parzyjagła
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2022

Same problem, any news?

TAGS
AUG Leaders

Atlassian Community Events