sub2api icon indicating copy to clipboard operation
sub2api copied to clipboard

docker build image error

Open huaqiangli opened this issue 5 months ago • 1 comments

[frontend-builder 7/7] RUN pnpm run build:
0.655
0.655 > [email protected] build /app/frontend
0.655 > vue-tsc -b && vite build
0.655
34.08 vite v5.4.21 building for production...
34.20 (node:18) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
34.20 (Use node --trace-deprecation ... to show where the warning was created) 34.24 transforming... 34.62 Browserslist: browsers data (caniuse-lite) is 6 months old. Please run: 34.62 npx update-browserslist-db@latest 34.62 Why you should do it regularly: https://github.com/browserslist/update-db#readme 39.82 ✓ 209 modules transformed. 63.33 x Build failed in 29.21s 63.33 error during build: 63.33 Could not resolve "../../../../docs/legal/admin-compliance.zh.md?raw" from "src/components/admin/AdminComplianceDialog.vue?vue&type=script&setup=true&lang.ts" 63.33 file: /app/frontend/src/components/admin/AdminComplianceDialog.vue?vue&type=script&setup=true&lang.ts 63.33 at getRollupError (file:///app/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:401:41) 63.33 at error (file:///app/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:397:42) 63.33 at ModuleLoader.handleInvalidResolvedId (file:///app/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:21661:24) 63.33 at file:///app/frontend/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:21621:26 63.41  ELIFECYCLE  Command failed with exit code 1.

huaqiangli avatar Jun 12 '26 09:06 huaqiangli

https://github.com/Wei-Shaw/sub2api/pull/3225

feitianbubu avatar Jun 13 '26 15:06 feitianbubu