Skip to content
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

npm run dist失败? #4

Open
z-jing opened this issue Nov 1, 2017 · 4 comments
Open

npm run dist失败? #4

z-jing opened this issue Nov 1, 2017 · 4 comments

Comments

@z-jing
Copy link

z-jing commented Nov 1, 2017

ERROR in ./src/components/Main.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./index in /Users/romens/zj-personal/react-shopping/src/components
 @ ./src/components/Main.js 17:13-31
webpack: Failed to compile.

✓ The bundle is now ready for serving!

  Open in iframe mode:	http://localhost:8000/webpack-dev-server/
  Open in inline mode:	http://localhost:8000/

安装成功但是运行时webpack打包失败?

@hua1995116
Copy link
Owner

npm run dist ?

@z-jing
Copy link
Author

z-jing commented Nov 2, 2017

是的,试过start都是一样的情况

@hua1995116
Copy link
Owner

已经修复bug,应该机器识别大小写不敏感引起的,我是mac os的,没发现这个问题,现在问题已经修复,你试试。感谢的提问。

@z-jing
Copy link
Author

z-jing commented Nov 4, 2017

好了👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants