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

1.0.5 在 windows 下 crash #6

Closed
jacksky007 opened this issue Aug 21, 2017 · 1 comment
Closed

1.0.5 在 windows 下 crash #6

jacksky007 opened this issue Aug 21, 2017 · 1 comment

Comments

@jacksky007
Copy link
Contributor

https://github.com/hubcarl/easywebpack/blob/master/utils/utils.js#L88

在我电脑上,这里 path.posix.join 返回结果为
temp/cache.json

对应 path.win32.join 返回结果为
D:\codes\egg-vue-webpack-boilerplate\node_modules\easywebpack-vue\node_modules\easywebpack\temp\cache.json

上面那个会导致找不到 module

就像我之前提的 pr 一样,一开始也是把 path 换成 path.posix,马上发现没这么简单。
win32 下我遇到的主要问题在于 entry 的路径,参见 https://github.com/jacksky007/easywebpack/blob/master/utils/utils.js#L53

@hubcarl
Copy link
Collaborator

hubcarl commented Aug 21, 2017

@jacksky007 刚才测试的时候发现了,我已经修复了

@hubcarl hubcarl closed this as completed Aug 29, 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