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

Doesn't deploy with vercel #1

Open
typeset-design opened this issue Apr 28, 2021 · 0 comments
Open

Doesn't deploy with vercel #1

typeset-design opened this issue Apr 28, 2021 · 0 comments

Comments

@typeset-design
Copy link

Just tried to deploy this and getting this error message: Any ideas? Thanks

15:56:55 Cloning completed: 468.988ms
15:56:55 Analyzing source code...
15:56:56 Installing build runtime...
15:57:00 Build runtime installed: 3.267s
15:57:03 Looking up build cache...
15:57:03 Build cache not found
15:57:05 Installing dependencies...
15:57:05 yarn install v1.22.10
15:57:05 [1/4] Resolving packages...
15:57:10 [2/4] Fetching packages...
15:57:20 info [email protected]: The platform "linux" is incompatible with this module.
15:57:20 info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
15:57:20 [3/4] Linking dependencies...
15:57:20 warning "@reflexjs/mdx > reflexjs > theme-ui > @theme-ui/[email protected]" has incorrect peer dependency "@theme-ui/[email protected]".
15:57:20 warning "next-mdx > [email protected]" has incorrect peer dependency "react@>=16.13.1 <=17.0.1".
15:57:20 warning "next-mdx > [email protected]" has incorrect peer dependency "react-dom@>=16.13.1 <=17.0.1".
15:57:24 [4/4] Building fresh packages...
15:57:25 success Saved lockfile.
15:57:25 Done in 19.13s.
15:57:25 Detected Next.js version: 10.2.0
15:57:25 Running "yarn run build"
15:57:25 yarn run v1.22.10
15:57:25 $ next build
15:57:26 info - Using webpack 5. Reason: no custom webpack configuration in next.config.js https://nextjs.org/docs/messages/webpack5
15:57:26 info - Checking validity of types...
15:57:26 Attention: Next.js now collects completely anonymous telemetry regarding usage.
15:57:26 This information is used to shape Next.js' roadmap and prioritize features.
15:57:26 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
15:57:26 https://nextjs.org/telemetry
15:57:31 Failed to compile.
15:57:31 ./pages/_app.tsx:8:20
15:57:31 Type error: Type '{ useRootStyles: boolean; initialColorModeName: string; colors: { text: string; textLighter: string; link: string; background: string; heading: string; primary: string; primaryHover: string; secondary: string; ... 9 more ...; modes: { ...; }; }; ... 25 more ...; icons: { ...; }; }' is not assignable to type 'Theme | ((outerTheme: Theme) => Theme)'.
15:57:31 Type '{ useRootStyles: boolean; initialColorModeName: string; colors: { text: string; textLighter: string; link: string; background: string; heading: string; primary: string; primaryHover: string; secondary: string; ... 9 more ...; modes: { ...; }; }; ... 25 more ...; icons: { ...; }; }' is not assignable to type 'Theme'.
15:57:31 Types of property 'fontWeights' are incompatible.
15:57:31 Type '{ hairline: string; thin: string; light: string; normal: string; medium: string; semibold: string; bold: string; extrabold: string; black: string; }' is not assignable to type 'Scale'.
15:57:31 Type '{ hairline: string; thin: string; light: string; normal: string; medium: string; semibold: string; bold: string; extrabold: string; black: string; }' is not assignable to type 'ScaleDict'.
15:57:31 Property 'hairline' is incompatible with index signature.
15:57:31 Type 'string' is not assignable to type 'FontWeight | FontWeight[] | NestedScaleDict'.
15:57:31 6 | export default function App({ Component, pageProps }: AppProps) {
15:57:31 7 | return (
15:57:31 > 8 |
15:57:31 | ^
15:57:31 9 | <Component {...pageProps} />
15:57:31 10 |
15:57:31 11 | )
15:57:31 error Command failed with exit code 1.
15:57:31 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
15:57:31 Error: Command "yarn run build" exited with 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