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

🐛 BUG: Early termination throws Warning: Can't perform a React state update on an unmounted component. #385

Closed
jgentes opened this issue Feb 4, 2022 · 2 comments

Comments

@jgentes
Copy link
Contributor

jgentes commented Feb 4, 2022

What version of Wrangler are you using?

0.0.0-aacd1c2

What operating system are you using?

Ubuntu 20 (WSL)

Describe the Bug

Start wrangler dev index.ts then immediately after ⬣ Listening at http://localhost:8787 appears, CTRL-C to break out. This error appears:

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    at Remote (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:117133:42)
    at Dev (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:117081:13)
    at ErrorBoundary2 (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:95934:39)
    at withErrorBoundary(Dev)
    at App (/home/jgentes/.nvm/versions/node/v16.13.2/lib/node_modules/wrangler/wrangler-dist/cli.js:78296:9)
  
@jgentes jgentes added the bug label Feb 4, 2022
@Electroid
Copy link
Contributor

Thanks for reporting! Looks like we're already tracking in #375

@jgentes
Copy link
Contributor Author

jgentes commented Feb 4, 2022

Ah, I forgot the first rule of submitting an issue :)

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