You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⨯ node_modules/.pnpm/[email protected]/node_modules/formidable/src/Formidable.js (15:1) @ eval
⨯ TypeError: hexoid is not a function
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at eval (./src/hooks/leancloud.ts:5:75)
at (ssr)/./src/hooks/leancloud.ts (/workspace/homepage/dist/server/app/moment/page.js:463:1)
at __webpack_require__ (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at eval (./src/app/moment/page.tsx:9:78)
at (ssr)/./src/app/moment/page.tsx (/workspace/homepage/dist/server/app/moment/page.js:419:1)
at Object.__webpack_require__ [as require] (/workspace/homepage/dist/server/webpack-runtime.js:33:43)
at JSON.parse (<anonymous>)
digest: "3492828021"
13 | const qs = require('qs');
14 |
> 15 | const toHexoId = hexoid(25);
| ^
16 | const DEFAULT_OPTIONS = {
17 | maxFields: 1000,
18 | maxFieldsSize: 20 * 1024 * 1024,
GET /moment 500 in 63ms
The text was updated successfully, but these errors were encountered:
运行环境:node20、next15、react18
问题描述:
我在应用里加了个 leancloud 用户登录功能,打包的时候出现
hexoid is not a function
的报错。另外还提示缺少
utf-8-validate
和bufferutil
两个依赖代码:
报错:
The text was updated successfully, but these errors were encountered: