dream-num / univer

Univer is an isomorphic full-stack framework for creating and editing spreadsheets, docs, and slides across client and server.
https://univer.ai
Apache License 2.0
7.53k stars 654 forks source link

[Bug] crash when I use 0.5.1 #4200

Closed percentcola3 closed 2 days ago

percentcola3 commented 2 days ago

Before you submit this issue, have you checked the following

Affected packages and versions

0.5.1

Reproduction link

https://github.com/percentcola3/crashuniver

Expected behavior

I submitted this issue. https://github.com/dream-num/univer/issues/4188 . And I noticed it has been closed. So I use 0.5.1 , but it crashed when I initialize a grid.

Actual behavior

image

System information

System information System: OS: macOS 15.1.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 356.40 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm pnpm: 9.11.0 - ~/.nvm/versions/node/v18.16.0/bin/pnpm Browsers: Edge: 131.0.2903.70

jikkai commented 2 days ago

Please use rspack@1 or above.

The root cause is your build tool incorrectly converting BigInt ** BigInt to Math.pow(BigInt, BigInt) within a third-party library in node_modules. This is a bug in the build tool. Consider upgrading the tool or excluding the affected library from the build process.