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
VITE BUILD no found in dockerfile, but it found in normal windows 10 docker. in windows 10 is ok byut in dockerfile command to create image show error.
resolved at runtime #15 29.22 #15 29.22 /fonts/Exo-Thin.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/Exo-Light.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/Exo-Regular.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/Exo-Bold.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/Exo-Black.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/fontawesome/fa-brands-400.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/fontawesome/fa-regular-400.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/fontawesome/fa-solid-900.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/fontawesome/fa-duotone-900.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/fontawesome/fa-sharp-regular-400.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 29.22 #15 29.22 /fonts/fontawesome/fa-sharp-solid-900.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime #15 35.47 ✓ 2579 modules transformed. #15 35.47 x Build failed in 12.21s #15 35.47 error during build: #15 35.47 node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@hookform/resolvers/valibot/dist/valibot.mjs (1:125): "getDotPath" is not exported by "node_modules/.pnpm/[email protected]/node_modules/valibot/dist/index.js", imported by "node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@hookform/resolvers/valibot/dist/valibot.mjs". #15 35.47 file: /usr/src/app/node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@hookform/resolvers/valibot/dist/valibot.mjs:1:125 #15 35.47 #15 35.47 1: import{toNestErrors as r}from"@hookform/resolvers";import{appendErrors as e}from"react-hook-form";import{safeParseAsync as t,getDotPath... #15 35.47 ^ #15 35.47 2: //# sourceMappingURL=valibot.module.js.map #15 35.47 #15 35.47 at getRollupError (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:396:41) #15 35.47 at error (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:392:42) #15 35.47 at Module.error (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:13858:16) #15 35.47 at Module.traceVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:14306:29) #15 35.47 at ModuleScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:11984:39) #15 35.47 at ChildScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at FunctionScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at FunctionBodyScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at ChildScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at FunctionScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at FunctionBodyScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at ChildScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at FunctionScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at FunctionBodyScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at TrackingScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38) #15 35.47 at Identifier.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:6908:40) #15 35.47 at CallExpression.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23) #15 35.47 at CallExpression.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:9135:15) #15 35.47 at VariableDeclarator.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23) #15 35.47 at VariableDeclaration.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28) #15 35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28) #15 35.47 at ForStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23) #15 35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28) #15 35.47 at IfStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23) #15 35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js #15 35.47 ... and 21 lines more #15 35.52 ELIFECYCLE Command failed with exit code 1. #15 ERROR: process "/bin/sh -c pnpm build:serve && pnpm build:dev && pnpm prune --prod" did not complete successfully: exit code: 1
[build 3/3] RUN pnpm build:serve && pnpm build:dev && pnpm prune --prod:
35.47 at CallExpression.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:9135:15)
35.47 at VariableDeclarator.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23)
35.47 at VariableDeclaration.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28)
35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28)
35.47 at ForStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23)
35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28)
35.47 at IfStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23)
35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js
35.47 ... and 21 lines more
35.52 ELIFECYCLE Command failed with exit code 1.
Dockerfile:62
60 | COPY --from=dependencies /usr/src/app/node_modules ./node_modules
61 | COPY . .
62 | >>> RUN pnpm build:serve && pnpm build:dev && pnpm prune --prod
63 |
64 | FROM base AS production
ERROR: failed to solve: process "/bin/sh -c pnpm build:serve && pnpm build:dev && pnpm prune --prod" did not complete successfully: exit code: 1
Reproduction
x
Steps to reproduce
No response
System Info
windows 10
"vite": "^5.2.12",
i am not use package.json y type:module
vite.config.mjs because my backend no use type module
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
VITE BUILD no found in dockerfile, but it found in normal windows 10 docker. in windows 10 is ok byut in dockerfile command to create image show error.
resolved at runtime
#15 29.22
#15 29.22 /fonts/Exo-Thin.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/Exo-Light.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/Exo-Regular.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/Exo-Bold.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/Exo-Black.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/fontawesome/fa-brands-400.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/fontawesome/fa-regular-400.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/fontawesome/fa-solid-900.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/fontawesome/fa-duotone-900.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/fontawesome/fa-sharp-regular-400.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 29.22
#15 29.22 /fonts/fontawesome/fa-sharp-solid-900.ttf referenced in /usr/src/app/resources/css/index.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
#15 35.47 ✓ 2579 modules transformed.
#15 35.47 x Build failed in 12.21s
#15 35.47 error during build:
#15 35.47 node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@hookform/resolvers/valibot/dist/valibot.mjs (1:125): "getDotPath" is not exported by "node_modules/.pnpm/[email protected]/node_modules/valibot/dist/index.js", imported by "node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@hookform/resolvers/valibot/dist/valibot.mjs".
#15 35.47 file: /usr/src/app/node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@hookform/resolvers/valibot/dist/valibot.mjs:1:125
#15 35.47
#15 35.47 1: import{toNestErrors as r}from"@hookform/resolvers";import{appendErrors as e}from"react-hook-form";import{safeParseAsync as t,getDotPath...
#15 35.47 ^
#15 35.47 2: //# sourceMappingURL=valibot.module.js.map
#15 35.47
#15 35.47 at getRollupError (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:396:41)
#15 35.47 at error (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:392:42)
#15 35.47 at Module.error (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:13858:16)
#15 35.47 at Module.traceVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:14306:29)
#15 35.47 at ModuleScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:11984:39)
#15 35.47 at ChildScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at FunctionScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at FunctionBodyScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at ChildScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at FunctionScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at FunctionBodyScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at ChildScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at FunctionScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at FunctionBodyScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at TrackingScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at BlockScope.findVariable (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:7432:38)
#15 35.47 at Identifier.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:6908:40)
#15 35.47 at CallExpression.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23)
#15 35.47 at CallExpression.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:9135:15)
#15 35.47 at VariableDeclarator.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23)
#15 35.47 at VariableDeclaration.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28)
#15 35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28)
#15 35.47 at ForStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23)
#15 35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4771:28)
#15 35.47 at IfStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:4775:23)
#15 35.47 at BlockStatement.bind (file:///usr/src/app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js
#15 35.47 ... and 21 lines more
#15 35.52 ELIFECYCLE Command failed with exit code 1.
#15 ERROR: process "/bin/sh -c pnpm build:serve && pnpm build:dev && pnpm prune --prod" did not complete successfully: exit code: 1
Dockerfile:62
60 | COPY --from=dependencies /usr/src/app/node_modules ./node_modules
61 | COPY . .
62 | >>> RUN pnpm build:serve && pnpm build:dev && pnpm prune --prod
63 |
64 | FROM base AS production
ERROR: failed to solve: process "/bin/sh -c pnpm build:serve && pnpm build:dev && pnpm prune --prod" did not complete successfully: exit code: 1
Reproduction
x
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: