question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some components reporting "missing the following properties" error

See original GitHub issue

This has been reported on Discord for both Alert and NumberInput.

Reproduction: https://codesandbox.io/s/naughty-tdd-lnmd9?file=/src/App.tsx

This may have been resolved already but we haven’t published next.7 yet so unable to test. Opening this as a tracking issue so we can verify this has been fixed.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
segunadebayocommented, Jul 29, 2020

I looked into this issue and it was related to the fact that the custom type definitions for styled-system/core didn’t make it to the build.

I’ve resolved this issue and it’ll be out in the next pre-release.

Thank you.

0reactions
nahtnamcommented, Jul 26, 2020

Hmm running that command on my repo still gives the following error:

ERROR in xxx/chakra-ts-bug/node_modules/@chakra-ui/styled-system/dist/types/config/background.d.ts(1,22):
TS6053: File 'xxx/chakra-ts-bug/node_modules/@chakra-ui/styled-system/src/types.d.ts' not found.

Curious as to why @types/styled-system__core isn’t installed by default

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript complaining about component missing properties ...
Thanks for any help! Exact Error: (TS) Type '{}' is missing the following properties from type 'IReportStore': showOrphaned, filters, filterFile.
Read more >
React: Type is missing the following properties from type
js error "Type is missing the following properties from type" occurs when we don't pass any props to a component, or don't pass...
Read more >
Solved - Type x is missing the following properties from type y ...
This error occurs when you are not passing all the required props or only passing some of the required props to the component....
Read more >
Type 'Observable<any>' is missing the following properties ...
I get the folllowing error: Type 'Observable<any>' is missing the following properties from type 'any[]' : length, pop, push, join, ...
Read more >
Error Boundaries - React
If some component in one of these UI areas crashes, the rest of them remain interactive. We also encourage you to use JS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found