You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (ERRORS_SENT_COUNT++ < 3) {
// noop
}
getErrorTracker().debug(new Error('***'))
The comma appears regardless of what is under the condition. It seems like the problem is the increment operator. I got 3 errors like this and in all cases, there is an increment in the condition.
System Info
System:
OS: macOS 14.2.1
CPU: (12) arm64 Apple M2 Pro
Memory: 5.50 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
Yarn: 4.1.0 - ~/.nvm/versions/node/v20.11.0/bin/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
Browsers:
Chrome: 126.0.6478.127
Safari: 17.2.1
npmPackages:
@rspack/cli: 1.0.0-alpha.1 => 1.0.0-alpha.1
@rspack/core: 1.0.0-alpha.1 => 1.0.0-alpha.1
@rspack/plugin-react-refresh: 1.0.0-alpha.1 => 1.0.0-alpha.1
Details
After updating from
1.0.0-alpha.0
to1.0.0-alpha.1
got this error on production build:here is the related piece of source:
The comma appears regardless of what is under the condition. It seems like the problem is the increment operator. I got 3 errors like this and in all cases, there is an increment in the condition.
git bisect
pointed to this PR @ahabhgk FYIReproduce link
No response
Reproduce Steps
Run production build with rspack
The text was updated successfully, but these errors were encountered: