#4922·hexo

FATAL RangeError: Invalid string length

Author: dimaslanjakaCreated Mar 27, 2022Updated Aug 5, 2026
Labels#perfmatters

Check List

Please check followings before submitting a new issue.

I don't know why this error occurs. Even though yesterday it was okay.

  • I didn't change anything in the code
  • I didn't modify the theme, even if I changed the theme many times, the error still persists.
  • I didn't modify any plugins LOG Workflow This error persist on hexo generate
bash
FATAL {
  err: RangeError: Invalid string length
      at JSON.stringify (<anonymous>)
      at _Model._export (/media/dimaslanjaka/DATA/Repositories/gh-pages/node_modules/warehouse/lib/model.js:932:17)
      at exportAsync (/media/dimaslanjaka/DATA/Repositories/gh-pages/node_modules/warehouse/lib/database.js:50:44)
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html

Environtment

log
hexo: 6.0.0
hexo-cli: 4.3.0
os: linux 5.13.0-37-generic Zorin OS 16.1
node: 14.18.1
v8: 8.4.371.23-node.84
uv: 1.42.0
zlib: 1.2.11
brotli: 1.0.9
ares: 1.17.2
modules: 83
nghttp2: 1.42.0
napi: 8
llhttp: 2.1.4
openssl: 1.1.1l
cldr: 39.0
icu: 69.1
tz: 2021a
unicode: 13.0