We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System: OS: macOS 15.0 CPU: (10) arm64 Apple M1 Pro Memory: 112.86 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.1.0 - ~/.nvm/versions/node/v20.1.0/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.6.4 - ~/.nvm/versions/node/v20.1.0/bin/npm pnpm: 8.10.2 - /usr/local/bin/pnpm bun: 1.1.38 - /opt/homebrew/bin/bun Browsers: Brave Browser: 121.1.62.153 Safari: 18.0
I have a docker file that build my rspress project. On my machine (not in docker) it works but when I want to build the docker a crash occured.
Here is the backtrace :
5.334 error 5.334 code: "GenericFailure"
5.336 Message: should success: SendError { .. } 5.336 Location: crates/rspack_core/src/compiler/module_executor/overwrite.rs:73 5.336 5.336 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. 5.360 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.362 ⋮ 1 frame hidden ⋮ 5.363 2: clone 5.363 at 5.365 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues 5.365 Message: should receiver success: RecvError(()) 5.365 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271 5.365 5.365 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. 5.365 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.365 ⋮ 1 frame hidden ⋮ 5.365 2: clone 5.365 at 5.365 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues 5.365 Message: should receiver success: RecvError(()) 5.365 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271 5.365 5.365 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. 5.365 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.366 ⋮ 1 frame hidden ⋮ 5.366 2: clone 5.366 at 5.366 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues 5.366 Message: should receiver success: RecvError(()) 5.366 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271 5.366 5.366 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. 5.366 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.366 ⋮ 1 frame hidden ⋮ 5.366 2: clone 5.366 at 5.366 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues 5.366 Message: should receiver success: RecvError(()) 5.366 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271 5.366 5.366 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. 5.366 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.366 ⋮ 1 frame hidden ⋮ 5.366 2: clone 5.366 at 5.402 error: script "build" was terminated by signal SIGABRT (Abort) 5.405 Aborted
No response
FROM oven/bun:latest AS builder WORKDIR /app
COPY . .
ENV RUST_BACKTRACE=full
RUN bun install --frozen-lockfile
RUN bun run build
FROM oven/bun:latest AS runner WORKDIR /app
ENV PORT 8080 ENV HOSTNAME 0.0.0.0
COPY --from=builder /app/doc_build ./doc_build COPY --from=builder /app/package.json ./package.json
CMD ["bun", "preview"]
The text was updated successfully, but these errors were encountered:
Sounds like similar of #8513
Sorry, something went wrong.
Can you try Bun 1.1.39? See oven-sh/bun#15383
Nice it works now ! Thanks
No branches or pull requests
System Info
System:
OS: macOS 15.0
CPU: (10) arm64 Apple M1 Pro
Memory: 112.86 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.1.0 - ~/.nvm/versions/node/v20.1.0/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.6.4 - ~/.nvm/versions/node/v20.1.0/bin/npm
pnpm: 8.10.2 - /usr/local/bin/pnpm
bun: 1.1.38 - /opt/homebrew/bin/bun
Browsers:
Brave Browser: 121.1.62.153
Safari: 18.0
Details
I have a docker file that build my rspress project. On my machine (not in docker) it works but when I want to build the docker a crash occured.
Here is the backtrace :
5.334 error
5.334 code: "GenericFailure"
5.336 Message: should success: SendError { .. }
5.336 Location: crates/rspack_core/src/compiler/module_executor/overwrite.rs:73
5.336
5.336 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
5.360 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5.362 ⋮ 1 frame hidden ⋮
5.363 2: clone
5.363 at
5.365 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
5.365 Message: should receiver success: RecvError(())
5.365 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271
5.365
5.365 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
5.365 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5.365 ⋮ 1 frame hidden ⋮
5.365 2: clone
5.365 at
5.365 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
5.365 Message: should receiver success: RecvError(())
5.365 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271
5.365
5.365 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
5.365 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5.366 ⋮ 1 frame hidden ⋮
5.366 2: clone
5.366 at
5.366 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
5.366 Message: should receiver success: RecvError(())
5.366 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271
5.366
5.366 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
5.366 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5.366 ⋮ 1 frame hidden ⋮
5.366 2: clone
5.366 at
5.366 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
5.366 Message: should receiver success: RecvError(())
5.366 Location: ./crates/rspack_core/src/compiler/module_executor/mod.rs:271
5.366
5.366 Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
5.366 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5.366 ⋮ 1 frame hidden ⋮
5.366 2: clone
5.366 at
5.402 error: script "build" was terminated by signal SIGABRT (Abort)
5.405 Aborted
Reproduce link
No response
Reproduce Steps
FROM oven/bun:latest AS builder
WORKDIR /app
COPY . .
ENV RUST_BACKTRACE=full
RUN bun install --frozen-lockfile
Just run next build we will copy assets later to optimize size
RUN bun run build
FROM oven/bun:latest AS runner
WORKDIR /app
ENV PORT 8080
ENV HOSTNAME 0.0.0.0
Copy built files from builder stage
COPY --from=builder /app/doc_build ./doc_build
COPY --from=builder /app/package.json ./package.json
Expose necessary port and set the command
CMD ["bun", "preview"]
The text was updated successfully, but these errors were encountered: