Skip to content

cordDifference.js:5 Uncaught TypeError: styledComponents_browser_cjs.styled is not a function at RecordDifference.js:5:14 #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ivictbor opened this issue May 4, 2023 · 1 comment

Comments

@ivictbor
Copy link

ivictbor commented May 4, 2023

(api) ivan@IvanPC:~/code/xxxxxplatform/bo (ajsnew)$ npm ls --all | grep styled-com
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped

in docs for 5.3.9 I see that default import should be used:

import styled from 'styled-components';

But here is a a partial import:

image

Using the next versions:

 "adminjs": "^7.0.0",
 "@adminjs/logger": "^5.0.0",
 "@adminjs/express": "^6.0.0",
"@adminjs/import-export": "^3.0.0",
"@adminjs/mongoose": "^4.0.0",
"@adminjs/passwords": "^4.0.0",
"@adminjs/themes": "^1.0.0",
"@devforth/adminjs-upload": "^4.0.4",
      
ivictbor added a commit to devforth/adminjs-logger that referenced this issue May 4, 2023
@ivictbor ivictbor closed this as completed May 8, 2023
@ivictbor
Copy link
Author

ivictbor commented May 8, 2023

Closing because it was already fixed in @adminjs/logger 5.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant