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

BuildAbortError when making changes while watch mode is building #8548

Closed
mischnic opened this issue Oct 16, 2022 · 1 comment Β· Fixed by #8600
Closed

BuildAbortError when making changes while watch mode is building #8548

mischnic opened this issue Oct 16, 2022 · 1 comment Β· Fixed by #8600

Comments

@mischnic
Copy link
Member

πŸ› bug report

When making too many changes too quickly while a build is already running in watch mode, an error occurs:

✨ Built in 452ms
Building...
Bundling...
Packaging & Optimizing...
Building...
Bundling...
Building...
Bundling...
Packaging & Optimizing...
BuildAbortError:
    at assertSignalNotAborted (parcel/parcel-react-native/packages/core/core/src/utils.js:43:11)
    at RequestTracker.runRequest (parcel/parcel-react-native/packages/core/core/src/RequestTracker.js:990:29)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at runDevDepRequest (parcel/parcel-react-native/packages/core/core/src/requests/DevDepRequest.js:170:3)
    at runCompressor (parcel/parcel-react-native/packages/core/core/src/requests/WriteBundleRequest.js:284:5)
    at async Promise.all (index 0)
    at writeFiles (parcel/parcel-react-native/packages/core/core/src/requests/WriteBundleRequest.js:233:3)
    at Object.run (parcel/parcel-react-native/packages/core/core/src/requests/WriteBundleRequest.js:150:3)
    at RequestTracker.runRequest (parcel/parcel-react-native/packages/core/core/src/RequestTracker.js:982:20)```

πŸ€” Expected Behavior

Correctly stops the old builds?

😯 Current Behavior

See error

πŸ’ Possible Solution

Reproduction

  • Set VSCode "Auto Save" to "afterDelay"
  • Set "Auto Save Delay" to "1ms"
  • type

🌍 Your Environment

Software Version(s)
Parcel 4ebb967
Node 16.18.0
Operating System macOS
@obrassard
Copy link

obrassard commented Nov 3, 2022

Hello, I found this GH issue on Google, I was experiencing the same problem after upgrading to parcel v2.7 !
Are you planning a release on NPM soon that would include the fix?

Thanks in advance !

EDIT : Downgraded my project to parcel v2.6, and the issue persist. Therefore the bug might have been there before v2.7

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

Successfully merging a pull request may close this issue.

2 participants