Skip to content
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

Type 'undefined' is not assignable to type 'number'. #53

Closed
kodxana opened this issue May 23, 2022 · 2 comments
Closed

Type 'undefined' is not assignable to type 'number'. #53

kodxana opened this issue May 23, 2022 · 2 comments

Comments

@kodxana
Copy link

kodxana commented May 23, 2022

There is issue when building docker image

builder:build: https://nextjs.org/telemetry
builder:build: 
builder:build: info  - Checking validity of types...
builder:build: Failed to compile.
builder:build: 
builder:build: ./components/share/integrations/modals/React/ReactInstructions.tsx:60:51
builder:build: Type error: Type 'number | undefined' is not assignable to type 'number'.
builder:build:   Type 'undefined' is not assignable to type 'number'.
builder:build: 
builder:build:   58 |       />
builder:build:   59 |       <Text>Initialize the typebot</Text>
builder:build: > 60 |       <PopupReactCode withStarterVariables={true} delay={inputValue} />
builder:build:      |                                                   ^
builder:build:   61 |     </Stack>
builder:build:   62 |   )
builder:build:   63 | }
builder:build: error Command failed with exit code 1.
builder:build: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
builder:build: Error: command finished with error: command (apps/builder) yarn run build exited (1)
command (apps/builder) yarn run build exited (1)
@baptisteArno
Copy link
Owner

Hey, sorry for that I pushed a failing commit. I just pushed 71c9c74, it should fix the issue.

@kodxana
Copy link
Author

kodxana commented May 23, 2022

Thank you worked perfect :)

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

2 participants