ut-code / dot-tutor

Learn Braille, which is a web application for learning Braille
https://learn.dot-tutor.com/
MIT License
4 stars 0 forks source link

Fix CI of translate #150

Closed chvmvd closed 1 year ago

chvmvd commented 1 year ago

何日かrerunしたが、それでもCIが落ちていたので、修正

> web@0.0.0 build
> tsc && vite build

failed to load config from /home/runner/work/learn-braille/learn-braille/translate/vite.config.ts
error during build:
TypeError: Cannot redefine property: File
    at Function.defineProperty (<anonymous>)
    at Object.<anonymous> (/home/runner/work/learn-braille/learn-braille/translate/node_modules/@babel/core/lib/index.js:7:8)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/home/runner/work/learn-braille/learn-braille/translate/node_modules/@babel/core/lib/config/helpers/config-api.js:16:9)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
Error: Process completed with exit code 1.
github-actions[bot] commented 1 year ago

PR Preview Action v1.4.4 :---: Preview removed because the pull request was closed. 2023-09-09 00:42 UTC

chvmvd commented 1 year ago

今日rerunしたら、直ったのでクローズします。