Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compose the docker #15

Open
dandna47 opened this issue Feb 7, 2024 · 0 comments
Open

Unable to compose the docker #15

dandna47 opened this issue Feb 7, 2024 · 0 comments

Comments

@dandna47
Copy link

dandna47 commented Feb 7, 2024

when composing this docker it is erroring out because svelte is looking to export these variables and they are not part of the .env file

PUBLIC_APPD_CONFIG_APP_KEY=
PUBLIC_APPD_CONFIG_EXTERNAL_URL=
PUBLIC_APPD_CONFIG_BEACON_URL=

24.18 ✓ 812 modules transformed.
24.18 'PUBLIC_APPD_CONFIG_APP_KEY' is not exported by .svelte-kit/runtime/env/static/public.js, imported by src/routes/__layout.svelte
24.18 file: /app/src/routes/__layout.svelte:18:4
24.18 16: import { page } from '$app/stores';
24.18 17: import {
24.18 18: PUBLIC_APPD_CONFIG_APP_KEY,
24.18 ^
24.18 19: PUBLIC_APPD_CONFIG_EXTERNAL_URL,
24.18 20: PUBLIC_APPD_CONFIG_BEACON_URL
24.18 error during build:
24.18 Error: 'PUBLIC_APPD_CONFIG_APP_KEY' is not exported by .svelte-kit/runtime/env/static/public.js, imported by src/routes/__layout.svelte
24.18 at error (file:///app/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
24.18 at Module.error (file:///app/node_modules/rollup/dist/es/shared/rollup.js:12412:16)
24.18 at Module.traceVariable (file:///app/node_modules/rollup/dist/es/shared/rollup.js:12771:29)
24.18 at ModuleScope.findVariable (file:///app/node_modules/rollup/dist/es/shared/rollup.js:11423:39)
24.18 at FunctionScope.findVariable (file:///app/node_modules/rollup/dist/es/shared/rollup.js:6355:38)
24.18 at ChildScope.findVariable (file:///app/node_modules/rollup/dist/es/shared/rollup.js:6355:38)
24.18 at Identifier.bind (file:///app/node_modules/rollup/dist/es/shared/rollup.js:7422:40)
24.18 at Property.bind (file:///app/node_modules/rollup/dist/es/shared/rollup.js:5252:23)
24.18 at ObjectExpression.bind (file:///app/node_modules/rollup/dist/es/shared/rollup.js:5248:73)
24.18 at VariableDeclarator.bind (file:///app/node_modules/rollup/dist/es/shared/rollup.js:5252:23)

failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant