Closed
Description
Description
Hi,
I'm trying to build Gitea on commit 4bb1fcd, following build instructions. Node.js used is v18.19.0.
As I run make
, the build stopped on webpack where webpack core dumped due to bus error (AFAIK, it because my Intel core i3 haswell processor can't attempt memory requests from node).
After examining the dump info (via coredumpctl info
), it turns out that lightningcss module causes the webpack error.
This build issue is also reproduced on node v20.11.0.
Gitea Version
commit 4bb1fcd
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/bagasme/d58a38beac308a20aa3b40dda2285021
Screenshots
n/a
Git Version
n/a
Operating System
Arch Linux
How are you running Gitea?
Building from source (node v18.19.0, go 1.21.6).
npx webpack info
output:
System:
OS: Linux 6.8 Arch Linux
CPU: (4) x64 Intel(R) Core(TM) i3-4030U CPU @ 1.90GHz
Memory: 1.31 GB / 3.73 GB
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
Packages:
add-asset-webpack-plugin: 2.0.1 => 2.0.1
css-loader: 6.10.0 => 6.10.0
esbuild-loader: 4.0.3 => 4.0.3
license-checker-webpack-plugin: 0.2.1 => 0.2.1
lightningcss-loader: 2.1.0 => 2.1.0
monaco-editor-webpack-plugin: 7.1.0 => 7.1.0
vue-loader: 17.4.2 => 17.4.2
webpack: 5.90.1 => 5.90.1
webpack-cli: 5.1.4 => 5.1.4
Database
None