According to React peer dependency issue the atlaskit is stuck on React 16 for quite a while and might not change soon. So there is a broken dependency in this case.
You can try to use npm install --legacy-peer-deps
to ignore this broken dependency and see if it works this way.
If it doesn’t you’d need to use the old UI Kit 1 (https://developer.atlassian.com/platform/forge/ui-kit-components/ui1-about/) and hope, atlaskit will be released in a newer version soon.