Skip to content

Conversation

colinaaa
Copy link
Collaborator

Summary

The BROWSER environment usually refer to the browser name that you would like to use.

And in some environment, it would be set to customize the behavior of opening browser.

E.g. on my vscode remote server:

❯ echo $BROWSER
/root/.vscode-server/cli/servers/Stable-e3a5acfb517a443235981655413d566533107e92/server/bin/helpers/browser.sh

which would result in

node:fs:1020
  binding.rename(
          ^

Error: ENOENT: no such file or directory, rename 'rspack.wasm32-wasi.debug.wasm' -> 'rspack.browser.debug.wasm'
    at renameSync (node:fs:1020:11)
    at ChildProcess.<anonymous> (/root/rspack/crates/node_binding/scripts/build.js:142:6)
    at ChildProcess.emit (node:events:518:28)
    at ChildProcess._handle.onexit (node:internal/child_process:293:12) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: 'rspack.wasm32-wasi.debug.wasm',
  dest: 'rspack.browser.debug.wasm'
}

when building binding.

Related links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@colinaaa colinaaa requested a review from stormslowly as a code owner October 13, 2025 08:59
Copy link

netlify bot commented Oct 13, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 2a07f72
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/68ecbf7ed1cd460008b1d5c5

Copy link
Contributor

📦 Binary Size-limit

Comparing 2a07f72 to chore(deps): update patch npm dependencies (#11806) by renovate[bot]

🙈 Size remains the same at 47.89MB

@colinaaa colinaaa requested a review from CPunisher October 13, 2025 09:14
Copy link

codspeed-hq bot commented Oct 13, 2025

CodSpeed Performance Report

Merging #11855 will not alter performance

Comparing colin/1013/browser (2a07f72) with main (dd19380)

Summary

✅ 17 untouched

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

Successfully merging this pull request may close these issues.

1 participant