Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

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

Description

@DonaldY
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里加了。。。

初学,不好意思。。。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions