Skip to content

getting Uncaught TypeError: Failed to resolve module specifier  #962

Open
@sumengwang

Description

@sumengwang

I'm trying to switch from react-loadable to loadable component

const PipelineList = loadable(
  () => import(/* webpackChunkName: "PipelineList" */ 'components/PipelineList'),
  {
    fallback: LoadingSVGCentered({
      pastDelay: true,
      error: false,
      timedOut: false,
    }),
  }
);

I have also added @loadable/babel-plugin to my babelrc.
but i'm getting the titled error

loadable-components: failed to asynchronously load component 
{fileName: './components/PipelineList/index.tsx', 
chunkName: 'PipelineList', 
error: "Failed to resolve module specifier 'components/PipelineList'"}

Not sure what else I need to do to make it work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions