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

error overlay is not working anymore #5254

Closed
maoxiaoke opened this issue Mar 31, 2022 · 3 comments
Closed

error overlay is not working anymore #5254

maoxiaoke opened this issue Mar 31, 2022 · 3 comments
Assignees

Comments

@maoxiaoke
Copy link
Collaborator

How to reproduce

  1. Init a new project: pnpm ice init xxx
  2. Toss in a random error:
const Home = () => {
 // `error` isn't declared or intialized
  console.log('error', error);
  return <Guide />;
};
@imsobear
Copy link
Collaborator

imsobear commented Apr 6, 2022

听说是 react-error-overlay 版本问题,现在有解决吗,更新下进度?

@maoxiaoke
Copy link
Collaborator Author

maoxiaoke commented Apr 8, 2022

目前 ice.js 会通过 webpack.devServer 提供 编译时 overlay

Shows a full-screen overlay in the browser when there are compiler errors or warnings.

Related issues: teambit/bit#5452

@maoxiaoke
Copy link
Collaborator Author

It‘s more likely a feature request instead of a bug. Just close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants