nofx icon indicating copy to clipboard operation
nofx copied to clipboard

[BUG] npm run build error

Open z331225718 opened this issue 1 year ago • 1 comments

=> ERROR [nofx-frontend builder 6/6] RUN npm run build 4.7s

[nofx-frontend builder 6/6] RUN npm run build: 0.442 0.442 > [email protected] build 0.442 > tsc && vite build 0.442 4.513 src/lib/crypto.ts(66,32): error TS2345: Argument of type 'Uint8Array' is not assignable to parameter of type 'ArrayBuffer'. 4.513 Types of property '[Symbol.toStringTag]' are incompatible. 4.513 Type '"Uint8Array"' is not assignable to type '"ArrayBuffer"'.


Dockerfile.frontend:21


19 |

20 | COPY web/ ./

21 | >>> RUN npm run build

22 |

23 | #

应该是代码改的有问题,我几个小时前用docker还是正常的

z331225718 avatar Nov 06 '25 17:11 z331225718

已经修复了

xqliu avatar Nov 06 '25 23:11 xqliu