Skip to content

github上的代码报错Cannot resolve module 'react-dom/lib/ReactMount' #32

Open
@shadowprompt

Description

@shadowprompt

Module not found: Error: Cannot resolve module 'react-dom/lib/ReactMount' in E:\Files\Front\react\react-book-examples\01\js
@ ./js/app.js 1:337-372

这是第一张的示例的代码,几个js都报这个错误,npm install 之后,执行npm run start 就报错,我在node_modules/react-dom/目录都找不到lib/ReactMount,是在一个try 失败了catch里面报的错

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

        Participants

        @shadowprompt

        Issue actions

          github上的代码报错Cannot resolve module 'react-dom/lib/ReactMount' · Issue #32 · arcthur/react-book-examples