blitz install material-ui fails due to the following type errors.
Paste all your error logs here:
$ yarn blitz install material-ui
TSError: ⨯ Unable to compile TypeScript:
.blitz/recipe-install/index.ts:177:28 - error TS2345: Argument of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online
-judge/.blitz/recipe-install/node_modules/ast-types/gen/namedTypes").namedTypes.ImportDeclaration' is not assignable to
parameter of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online-judge/.blitz/recipe-install/node_modules/@blitzjs/in
staller/node_modules/ast-types/gen/nodes").ImportDeclaration'.
Types of property 'specifiers' are incompatible.
Type '(ImportSpecifier | ImportNamespaceSpecifier | ImportDefaultSpecifier)[] | undefined' is not assignable to type
'(ImportSpecifier | ImportNamespaceSpecifier | ImportDefaultSpecifier)[]'.
Type 'undefined' is not assignable to type '(ImportSpecifier | ImportNamespaceSpecifier | ImportDefaultSpecifier)[]'.
177 addImport(program, reactImport)
~~~~~~~~~~~
.blitz/recipe-install/index.ts:180:26 - error TS2345: Argument of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online
-judge/.blitz/recipe-install/node_modules/ast-types/gen/namedTypes").namedTypes.ImportDeclaration' is not assignable to
parameter of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online-judge/.blitz/recipe-install/node_modules/@blitzjs/in
staller/node_modules/ast-types/gen/nodes").ImportDeclaration'.
180 addImport(program, serverStyleSheetsImport)
~~~~~~~~~~~~~~~~~~~~~~~
.blitz/recipe-install/index.ts:206:26 - error TS2345: Argument of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online
-judge/.blitz/recipe-install/node_modules/ast-types/gen/namedTypes").namedTypes.ImportDeclaration' is not assignable to
parameter of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online-judge/.blitz/recipe-install/node_modules/@blitzjs/in
staller/node_modules/ast-types/gen/nodes").ImportDeclaration'.
206 addImport(program, cssBaselineImport)
~~~~~~~~~~~~~~~~~
.blitz/recipe-install/index.ts:207:26 - error TS2345: Argument of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online
-judge/.blitz/recipe-install/node_modules/ast-types/gen/namedTypes").namedTypes.ImportDeclaration' is not assignable to
parameter of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online-judge/.blitz/recipe-install/node_modules/@blitzjs/in
staller/node_modules/ast-types/gen/nodes").ImportDeclaration'.
207 addImport(program, themeImport)
~~~~~~~~~~~
.blitz/recipe-install/index.ts:337:28 - error TS2345: Argument of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online
-judge/.blitz/recipe-install/node_modules/ast-types/gen/namedTypes").namedTypes.ImportDeclaration' is not assignable to
parameter of type 'import("/Users/exkazuu/ghq/github.com/WillBooster/online-judge/.blitz/recipe-install/node_modules/@blitzjs/in
staller/node_modules/ast-types/gen/nodes").ImportDeclaration'.
337 addImport(program, reactImport)
~~~~~~~~~~~
Paste all relevant code snippets here:
Nothing.
What are detailed steps to reproduce this?
blitz install material-ui
Run blitz -v and paste the output here:
I've confirmed that the errors occurred on both blitz 0.42.4 and 0.42.5-danger.2eab9f6f.21+2eab9f6f.
What is the problem?
blitz install material-ui
fails due to the following type errors.Paste all your error logs here:
Paste all relevant code snippets here:
Nothing.
What are detailed steps to reproduce this?
blitz install material-ui
Run
blitz -v
and paste the output here:I've confirmed that the errors occurred on both blitz
0.42.4
and0.42.5-danger.2eab9f6f.21+2eab9f6f
.Please include below any other applicable logs and screenshots that show your problem:
Related to blitz-js/legacy-framework#390 and blitz-js/blitz#2952 ?