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

getting Uncaught TypeError: Failed to resolve module specifier #962

Open
sumengwang opened this issue May 1, 2023 · 1 comment
Open
Labels

Comments

@sumengwang
Copy link

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

@stale
Copy link

stale bot commented Aug 13, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant