-
Notifications
You must be signed in to change notification settings - Fork 14
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
build error #10
Comments
Same here. Initial setup, causes error Failed to compile Windows 10 x64, node 8.11.1 |
Exactly the same issue here, too :-( |
Same issue here. The source code looks great, but I'm not able to build it. I have the same error as for the previous comments. |
Looking here it seems the dependency of I switched to I planned on using the repo as a template and starting my App from scratch, so this worked fine for me. |
I cloned the project, then yarn install, and yarn start.
I got Module ./node_modules/material-ui/styles/withStyles.js
not found: Can't resolve '@babel/runtime/core-js/map' in 'typescript-react-template/node_modules/material-ui/styles'
I solved above error by installing @babel/runtime and upgrading to material-ui@1.0.0-beta.45
However I got node_modules/material-ui/index.d.ts
(47,55): Type 'keyof T' does not satisfy the constraint 'string'.
Type 'string | number | symbol' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
then I solved above by adding "keyofStringsOnly": true in compilerOptions
Now I struck with
Argument of type 'CSSProperties' is not assignable to parameter of type 'Record<"all" | "left" | "right" | "font" | "clipPath" | "filter" | "marker" | "mask" | "resize" |...'.
Type 'CSSProperties' is not assignable to type 'StyleRulesCallback<"all" | "left" | "right" | "font" | "clipPath" | "filter" | "marker" | "mask" ...'.
The text was updated successfully, but these errors were encountered: