maichong / material-ui-html-field

Html WYSIWYG editor field based on material-ui
MIT License
8 stars 4 forks source link

Trying to use with material-ui #6

Open code-by opened 8 years ago

code-by commented 8 years ago

When I try use material-ui-html-field together with material-ui, I receive these errors:

ERROR in ./~/material-ui-html-field/lib/html-field.js
Module not found: Error: Cannot resolve module 'material-ui/lib/styles/raw-themes/light-raw-theme' in /myproject/node_modules/material-ui-html-field/lib
 @ ./~/material-ui-html-field/lib/html-field.js 23:21-81

ERROR in ./~/material-ui-html-field/lib/html-field.js
Module not found: Error: Cannot resolve module 'material-ui/lib/styles/theme-manager' in /myproject/node_modules/material-ui-html-field/lib
 @ ./~/material-ui-html-field/lib/html-field.js 27:20-67

ERROR in ./~/material-ui-html-field/lib/html-field.js
Module not found: Error: Cannot resolve module 'material-ui/lib/styles/transitions' in /myproject/node_modules/material-ui-html-field/lib
 @ ./~/material-ui-html-field/lib/html-field.js 31:19-64

ERROR in ./~/material-ui-html-field/lib/html-field.js
Module not found: Error: Cannot resolve module 'material-ui/lib/mixins/context-pure' in /myproject/node_modules/material-ui-html-field/lib
 @ ./~/material-ui-html-field/lib/html-field.js 35:19-65

ERROR in ./~/material-ui-html-field/lib/html-field.js
Module not found: Error: Cannot resolve module 'material-ui/lib/mixins/style-propable' in /myproject/node_modules/material-ui-html-field/lib
 @ ./~/material-ui-html-field/lib/html-field.js 39:21-69

It is both for my project and example from github.

foodiehong commented 8 years ago

me too

oldfeel commented 8 years ago

@code-by @hongguancheng material-ui 的老版本是 material-ui/lib/**,新版本是 material-ui/*,目录上少个 lib.

tarhunakau commented 7 years ago

@oldfeel Ofcource, everyone knows chineese...

amuzalevskiy commented 7 years ago

This module doesn't work with recent versions of material-ui