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

ERROR in Entry module not found: Error: Can't resolve #60

Open
DonaldY opened this issue Mar 20, 2018 · 0 comments
Open

ERROR in Entry module not found: Error: Can't resolve #60

DonaldY opened this issue Mar 20, 2018 · 0 comments

Comments

@DonaldY
Copy link

DonaldY commented Mar 20, 2018

ERROR in Entry module not found: Error: Can't resolve 'D:\tools\Code\FrontEnd\Webpack\webpack-demo\src\pages\common\index\pages' in 'D:\tools\Code\FrontEnd\Webpack\webpack-demo'

原因:
configEntry[page] = path.resolve(dirVars.pagesDir, page + '/pages');

'/pages' 去掉就好了。

但还是不清楚大大的本意,可能是想把生成文件放在build/pages/下。

我直接在filename里加了。。。

初学,不好意思。。。

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

1 participant