theopenconversationkit / theopenconversationkit/tock-react-kit
Missing peerDependcy @emotion/utils
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23
- Forks
- 23
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Description
It seems there is a missing peerDependency : @emotion/utils
Causing this error
Error: Warning: {"moduleIdentifier":"/home/node/node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js","moduleName":"../../home/node/node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js","loc":"201:2-16","message":"export 'registerStyles' (imported as 'registerStyles') was not found in '@emotion/utils' (possible exports: getRegisteredStyles, insertStyles)","moduleId":null,"moduleTrace":[{"originIdentifier":"/home/node/node_modules/@emotion/react/dist/emotion-react.browser.esm.js","originName":"../../home/node/node_modules/@emotion/react/dist/emotion-react.browser.esm.js","moduleIdentifier":"/home/node/node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js","moduleName":"../../home/node/node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js","dependencies":[{"loc":"1:0-171"},{"loc":"2:0-203"},{"loc":"2:0-203"},{"loc":"2:0-203"},{"loc":"2:0-203"},{"loc":"2:0-203"},{"loc":"2:0-203"},{"loc":"2:0-203"},{"loc":"2:0-203"},{"loc":"148:24-35"},{"loc":"155:29-36"},{"loc":"156:29-47"},{"loc":"170:28-44"},{"loc":"181:73-85"},{"loc":"183:7-18"},{"loc":"373:32-48"},{"loc":"408:28-40"}],"originId":null,"moduleId":null},{"originIdentifier":"/home/node/node_modules/@smart-tribune/tock-react-kit/build/tock-react-kit.esm.js","originName":"../../home/node/node_modules/@smart-tribune/tock-react-kit/build/tock-react-kit.esm.js","moduleIdentifier":"/home/node/node_modules/@emotion/react/dist/emotion-react.browser.esm.js","moduleName":"../../home/node/node_modules/@emotion/react/dist/emotion-react.browser.esm.js","dependencies":[{"loc":"1:0-73"},{"loc":"949:15-28"},{"loc":"952:15-28"},{"loc":"1067:24-27"},{"loc":"1076:39-42"},{"loc":"1199:43-46"},{"loc":"1731:18-26"},{"loc":"4842:43-46"},{"loc":"4961:13-22"},{"loc":"5167:18-26"},{"loc":"5272:22-30"},{"loc":"5337:53-66"}]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the package metadata and the @emotion/react and @emotion/utils dependency relationship; the issue names no repository file or test. Reproduce the reported build warning and verify that the dependency declaration resolves the missing registerStyles export without the warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100