sessionboy / sinn

a blog based on of react,webpack3,dva,redux,material-ui,fetch,generator,markdown,nodejs,koa2,mongoose,docker,shell,and async/await 基于react+koa2技术栈的个人开源博客系统
http://sinn.boyagirl.com
171 stars 28 forks source link

请问materail-Ui的问题 #3

Open xyjackxjw opened 6 years ago

xyjackxjw commented 6 years ago

想学习本项目,但是npm run dev 报错: ERROR Failed to compile with 10 errors 22:13:49

These dependencies were not found:

还有这个错:对比其它没错的模块,看不出问题 ERROR in ./src/containers/exports.js Module not found: Error: Can't resolve './IndexPage/index' in '/home/jacky/文档/test/Koa2/sinn/src/containers' @ ./src/containers/exports.js 2:0-42 @ ./src/router.js @ ./src/index.js @ multi (webpack)-dev-server/client?http://localhost:8000 webpack/hot/dev-server react-hot-loader/patch webpack-dev-server/client?http://localhost:8000 webpack/hot/only-dev-server ./src/index.js

能帮解答吗?谢谢!

xyjackxjw commented 6 years ago

模块没找到,是原文中的大小写问题,部分material ui 不能用,没搞懂,有的就可以用,不能用的在node-modules里也都有。。。。

xyjackxjw commented 6 years ago

老大,看来你是故意逼我们认真学习咯,部分material ui 不能用的原因还是大小写的问题,import的时候action故意写成Action。

文章写的真好,sinn和sinn server 两个例子也包括很多内容,非常感谢!!!