Replies: 9 comments
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
|
Beta Was this translation helpful? Give feedback.
-
node_modules/@material-ui/core/styles/makeStyles.d.ts:3:10 - error TS2614: Module '"@material-ui/styles/makeStyles"' has no exported member 'StylesHook'. Did you mean to use 'import StylesHook from "@material-ui/styles/makeStyles"' instead?
3 import { StylesHook } from '@material-ui/styles/makeStyles';
node_modules/@material-ui/pickers/views/Clock/Clock.d.ts:4:48 - error TS2344: Type '(theme: Theme) => Record<"container" | "clock" | "squareMask" | "pin", CSSProperties | (() => CSSProperties)>' does not satisfy the constraint 'string | Styles<any, any, any>'.
Type '(theme: Theme) => Record<"container" | "clock" | "squareMask" | "pin", CSSProperties | (() => CSSProperties)>' is not assignable to type 'StyleRulesCallback<any, any, any>'.
Type 'Record<"container" | "clock" | "squareMask" | "pin", CSSProperties | (() => CSSProperties)>' is not assignable to type 'StyleRules<any, any>'.
Property 'container' is incompatible with index signature.
Type 'CSSProperties | (() => CSSProperties)' is not assignable to type 'CSSProperties | CreateCSSProperties<any> | PropsFunc<any, CreateCSSProperties<any>>'.
Type '() => CSSProperties' is not assignable to type 'CSSProperties | CreateCSSProperties<any> | PropsFunc<any, CreateCSSProperties<any>>'.
Type '() => CSSProperties' is not assignable to type 'PropsFunc<any, CreateCSSProperties<any>>'.
Type 'CSSProperties' is not assignable to type 'CreateCSSProperties<any>'.
Index signatures are incompatible.
Type 'unknown' is not assignable to type 'string | number | JSSFontface | JSSFontface[] | CreateCSSProperties<any> | PropsFunc<any, Globals | undefined> | ... 348 more ... | undefined'.
Type 'unknown' is not assignable to type 'PropsFunc<any, JSSFontface | JSSFontface[] | undefined>'.
4 export interface ClockProps extends WithStyles<typeof styles> {
~~~~~~~~~~~~~
Found 1 error. |
Beta Was this translation helpful? Give feedback.
-
ERROR in ../css/antd.less (../node_modules/css-loader/dist/cjs.js!../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!../css/antd.less)
Module build failed (from ../node_modules/less-loader/dist/cjs.js):
@input-padding-vertical-base: max(
round((@input-height-base - @font-size-base * @line-height-base) / 2 * 10) / 10 -
^
Error evaluating function `round`: argument must be a number
Error in /Users/deoblohin/Documents/my/react-awesome-query-builder/node_modules/antd/lib/style/themes/default.less (line 391, column 2)
Error:
@input-padding-vertical-base: max(
round((@input-height-base - @font-size-base * @line-height-base) / 2 * 10) / 10 -
^
Error evaluating function `round`: argument must be a number
Error in /Users/deoblohin/Documents/my/react-awesome-query-builder/node_modules/antd/lib/style/themes/default.less (line 391, column 2)
at Object.lessLoader (/Users/deoblohin/Documents/my/react-awesome-query-builder/node_modules/less-loader/dist/index.js:57:14)
@ ../css/antd.less 2:12-155 9:17-24 13:7-21 45:20-34 49:6-59:7 50:38-52 56:26-40 58:21-28 68:15-29 47:4-60:5
@ ./index.tsx 15:0-26 Otherwise |
Beta Was this translation helpful? Give feedback.
-
(see #402)
So minimmum React is 16.8.4 for material, 16.9.0 for antd. |
Beta Was this translation helpful? Give feedback.
-
Problems with updating dependencies:
Beta Was this translation helpful? Give feedback.
All reactions