Skip to content

TypeError: Cannot read property 'call' of undefined at webpack_require (bootstrap:790) #169

Open

Description

@zhangyuliangzyl

Hi, friend.
I use webpack-external-import to import another project's react component.I am often prompted for error like this.

image
bootstrap:790 Uncaught (in promise) TypeError: Cannot read property 'call' of undefined
at webpack_require (bootstrap:790)
at fn (bootstrap:150)
at Object. (index.js:5)
at Object.okex/account-history (account-history.js:132)
at webpack_require (bootstrap:790)
at bootstrap:1106

It seems the dependencies in the project that i cross imported, it is loaded later than the project loaded. Is there any way to solve the problem of loading order?
Thanks.

Activity

  1. saravanan10393 commented on Mar 21, 2020

    @saravanan10393

    I am also getting the same error when two app import each other.

  2. changed the title [-]Nothing render when react router enter second time[/-] [+]TypeError: Cannot read property 'call' of undefined at webpack_require (bootstrap:790)[/+] on Mar 21, 2020
  3. brussev commented on May 5, 2020

    @brussev

    I am having the same issue when doing internal imports.Did someone found a workaround?

    Edit: I found a solution which is to interleave all the internal imports.

  4. aditya81070 commented on Jul 14, 2020

    @aditya81070

    @brussev What do you mean by keeping everything into the interleave?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions