-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Docker compose not working #1329
Comments
Hello, @tstanek390! 👋 I'm here to help you with any bugs, questions, or contributions you may have. Let's squash those bugs together! To resolve the error related to You can install the PostgreSQL development package by adding the following line to your Dockerfile: RUN apt-get update && apt-get install -y postgresql-server-dev-all Here is an example of how your Dockerfile might look: FROM python:3.11.9-slim
# Install dependencies
RUN apt-get update && apt-get install -y \
build-essential \
postgresql-server-dev-all \
&& rm -rf /var/lib/apt/lists/*
# Set the working directory
WORKDIR /app
# Copy the project files
COPY . .
# Install Python dependencies
RUN pip install poetry
RUN poetry install
# Command to run the application
CMD ["python", "your_main_script.py"] This will ensure that |
Thanks, it worked, but now i am getting another error: (pandas) admin@Teodor--MacBook-Pro pandas-ai % docker compose build
|
To resolve the
By following these steps, you should be able to resolve the |
Thx, I got even a few another steps further, but on the very end of the build process I am getting this: (pandasai) admin@Teodor--MacBook-Pro pandas-ai % docker-compose build
|
Still stuck on this? Any other ideas? |
To resolve the
Here is an example of how you might modify your Dockerfile to include a wait-for-it script: FROM node:19.4.0-alpine3.17
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
# Add wait-for-it script to ensure the server is up before running the build
COPY wait-for-it.sh /usr/local/bin/wait-for-it
RUN chmod +x /usr/local/bin/wait-for-it
# Use wait-for-it to wait for the server to be available
RUN /usr/local/bin/wait-for-it server:8000 --timeout=30 --strict -- npm run build
EXPOSE 3000
CMD ["npm", "start"] In this example, replace If you do not have the By ensuring the server is accessible and possibly waiting for it to be ready, you should be able to resolve the |
Thanks. I got closer again, but now having this issue: pandabi-frontend | node:internal/modules/cjs/loader:1056 |
To resolve the "Cannot find module '/npm'" error in your Node.js application running in Docker, ensure that the
Here is an updated Dockerfile with the verification step: FROM node:19.4.0-alpine3.17
WORKDIR /app
COPY package*.json ./
RUN npm install
# Verify the contents of the /app directory
RUN ls -la /app
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"] This will help you ensure that the |
I have a similar error with the npm run build => [server] resolving provenance for metadata file 0.0s
=> ERROR [client 8/8] RUN npm run build 45.4s
------
> [client 8/8] RUN npm run build:
0.647
0.647 > [email protected] build
0.647 > next build
0.647
1.452 Attention: Next.js now collects completely anonymous telemetry regarding usage.
1.452 This information is used to shape Next.js' roadmap and prioritize features.
1.452 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
1.452 https://nextjs.org/telemetry
1.452
1.517 ▲ Next.js 14.2.3
1.517
1.580 Creating an optimized production build ...
36.19 ✓ Compiled successfully
36.19 Skipping linting
36.19 Checking validity of types ...
42.16 Collecting page data ...
44.35 Generating static pages (0/15) ...
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 digest: '2992005684',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 digest: '2992005684',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61
44.61 Error occurred prerendering page "/settings/workspaces/editspaces". Read more: https://nextjs.org/docs/messages/prerender-error
44.61
44.61 TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.61 at async p (/app/build/server/app/settings/workspaces/editspaces/page.js:1:12135)
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/workspace/list
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/page.js:1:13344)
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 input: 'undefined/v1/workspace/list',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/workspace/list
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 digest: '4158753373',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/page.js:1:13344)
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 input: 'undefined/v1/workspace/list',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/workspace/list
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/page.js:1:13344)
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 input: 'undefined/v1/workspace/list',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/workspace/list
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 digest: '4158753373',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/page.js:1:13344)
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244) {
44.61 input: 'undefined/v1/workspace/list',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61
44.61 Error occurred prerendering page "/settings/workspaces". Read more: https://nextjs.org/docs/messages/prerender-error
44.61
44.61 TypeError: Failed to parse URL from undefined/v1/workspace/list
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async n (/app/build/server/app/settings/workspaces/page.js:1:13344)
44.61 at async c (/app/build/server/app/settings/workspaces/page.js:1:10244)
44.61 Generating static pages (3/15)
44.61 Generating static pages (7/15)
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async i (/app/build/server/app/settings/datasets/page.js:1:13460)
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 digest: '2842266386',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async i (/app/build/server/app/settings/datasets/page.js:1:13460)
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async i (/app/build/server/app/settings/datasets/page.js:1:13460)
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 digest: '2842266386',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async i (/app/build/server/app/settings/datasets/page.js:1:13460)
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848) {
44.61 input: 'undefined/v1/datasets/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61
44.61 Error occurred prerendering page "/settings/datasets". Read more: https://nextjs.org/docs/messages/prerender-error
44.61
44.61 TypeError: Failed to parse URL from undefined/v1/datasets/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async i (/app/build/server/app/settings/datasets/page.js:1:13460)
44.61 at async u (/app/build/server/app/settings/datasets/page.js:1:8848)
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/logs/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async a (/app/build/server/app/(ee)/settings/logs/page.js:46:4428)
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 input: 'undefined/v1/logs/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/logs/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 digest: '3507692322',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async a (/app/build/server/app/(ee)/settings/logs/page.js:46:4428)
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 input: 'undefined/v1/logs/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 Get request failed TypeError: Failed to parse URL from undefined/v1/logs/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async a (/app/build/server/app/(ee)/settings/logs/page.js:46:4428)
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 input: 'undefined/v1/logs/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61 TypeError: Failed to parse URL from undefined/v1/logs/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 ... 3 lines matching cause stack trace ...
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 digest: '3507692322',
44.61 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.61 at new NodeError (node:internal/errors:399:5)
44.61 at URL.onParseError (node:internal/url:565:9)
44.61 at new URL (node:internal/url:645:5)
44.61 at new Request (node:internal/deps/undici/undici:6947:25)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async a (/app/build/server/app/(ee)/settings/logs/page.js:46:4428)
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873) {
44.61 input: 'undefined/v1/logs/',
44.61 code: 'ERR_INVALID_URL'
44.61 }
44.61 }
44.61
44.61 Error occurred prerendering page "/settings/logs". Read more: https://nextjs.org/docs/messages/prerender-error
44.61
44.61 TypeError: Failed to parse URL from undefined/v1/logs/
44.61 at new Request (node:internal/deps/undici/undici:6949:19)
44.61 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.61 at B (/app/build/server/chunks/948.js:2:6846)
44.61 at /app/build/server/chunks/948.js:2:9092
44.61 at async a (/app/build/server/app/(ee)/settings/logs/page.js:46:4428)
44.61 at async u (/app/build/server/app/(ee)/settings/logs/page.js:46:2873)
44.61 Generating static pages (11/15)
44.70 Get request failed TypeError: Failed to parse URL from undefined/v1/datasets/
44.70 at new Request (node:internal/deps/undici/undici:6949:19)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 ... 3 lines matching cause stack trace ...
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.70 at new NodeError (node:internal/errors:399:5)
44.70 at URL.onParseError (node:internal/url:565:9)
44.70 at new URL (node:internal/url:645:5)
44.70 at new Request (node:internal/deps/undici/undici:6947:25)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 at B (/app/build/server/chunks/948.js:2:6846)
44.70 at /app/build/server/chunks/948.js:2:9092
44.70 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 input: 'undefined/v1/datasets/',
44.70 code: 'ERR_INVALID_URL'
44.70 }
44.70 }
44.70 TypeError: Failed to parse URL from undefined/v1/datasets/
44.70 at new Request (node:internal/deps/undici/undici:6949:19)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 ... 3 lines matching cause stack trace ...
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 digest: '2806050886',
44.70 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.70 at new NodeError (node:internal/errors:399:5)
44.70 at URL.onParseError (node:internal/url:565:9)
44.70 at new URL (node:internal/url:645:5)
44.70 at new Request (node:internal/deps/undici/undici:6947:25)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 at B (/app/build/server/chunks/948.js:2:6846)
44.70 at /app/build/server/chunks/948.js:2:9092
44.70 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 input: 'undefined/v1/datasets/',
44.70 code: 'ERR_INVALID_URL'
44.70 }
44.70 }
44.70 Get request failed TypeError: Failed to parse URL from undefined/v1/datasets/
44.70 at new Request (node:internal/deps/undici/undici:6949:19)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 ... 3 lines matching cause stack trace ...
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.70 at new NodeError (node:internal/errors:399:5)
44.70 at URL.onParseError (node:internal/url:565:9)
44.70 at new URL (node:internal/url:645:5)
44.70 at new Request (node:internal/deps/undici/undici:6947:25)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 at B (/app/build/server/chunks/948.js:2:6846)
44.70 at /app/build/server/chunks/948.js:2:9092
44.70 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 input: 'undefined/v1/datasets/',
44.70 code: 'ERR_INVALID_URL'
44.70 }
44.70 }
44.70 TypeError: Failed to parse URL from undefined/v1/datasets/
44.70 at new Request (node:internal/deps/undici/undici:6949:19)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 ... 3 lines matching cause stack trace ...
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 digest: '2806050886',
44.70 [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
44.70 at new NodeError (node:internal/errors:399:5)
44.70 at URL.onParseError (node:internal/url:565:9)
44.70 at new URL (node:internal/url:645:5)
44.70 at new Request (node:internal/deps/undici/undici:6947:25)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 at B (/app/build/server/chunks/948.js:2:6846)
44.70 at /app/build/server/chunks/948.js:2:9092
44.70 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080) {
44.70 input: 'undefined/v1/datasets/',
44.70 code: 'ERR_INVALID_URL'
44.70 }
44.70 }
44.70
44.70 Error occurred prerendering page "/settings/workspaces/addspaces". Read more: https://nextjs.org/docs/messages/prerender-error
44.70
44.70 TypeError: Failed to parse URL from undefined/v1/datasets/
44.70 at new Request (node:internal/deps/undici/undici:6949:19)
44.70 at a (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:180691)
44.70 at B (/app/build/server/chunks/948.js:2:6846)
44.70 at /app/build/server/chunks/948.js:2:9092
44.70 at async n (/app/build/server/app/settings/workspaces/addspaces/page.js:1:15050)
44.70 at async p (/app/build/server/app/settings/workspaces/addspaces/page.js:1:12080)
44.95 ✓ Generating static pages (15/15)
44.96
44.96 > Export encountered errors on following paths:
44.96 /(ee)/settings/logs/page: /settings/logs
44.96 /settings/datasets/page: /settings/datasets
44.96 /settings/workspaces/addspaces/page: /settings/workspaces/addspaces
44.96 /settings/workspaces/editspaces/page: /settings/workspaces/editspaces
44.96 /settings/workspaces/page: /settings/workspaces
------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1 |
System Info
Mac OS 14
Python 3.11.9
Pandas version = 2.2.14
🐛 Describe the bug
Hi there,
I cant get the Pandas working. Everytime I run docker compose build I get this error. Tried to reinstall all of the packages, and all of the recomendations from the bug report too. Any ideas?
Thx a lot
T.
(pandas) admin@Teodor--MacBook-Pro pandas-ai % docker compose build
[+] Building 17.6s (24/28) docker:desktop-linux
=> [client internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 185B 0.0s
=> [server internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.09kB 0.0s
=> [client internal] load metadata for docker.io/library/node:19.4.0-alpine3.17 0.9s
=> [server internal] load metadata for docker.io/library/python:3.11-slim 1.0s
=> [client auth] library/node:pull token for registry-1.docker.io 0.0s
=> [server auth] library/python:pull token for registry-1.docker.io 0.0s
=> [client internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [client 1/6] FROM docker.io/library/node:19.4.0-alpine3.17@sha256:ab3603cb7934b21f1ffb522b1a1d538809516c6e4cd73b144716bc1830aad1a6 0.0s
=> [client internal] load build context 0.0s
=> => transferring context: 9.81kB 0.0s
=> [server internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [server 1/12] FROM docker.io/library/python:3.11-slim@sha256:ad5dadd957a398226996bc4846e522c39f2a77340b531b28aaab85b2d361210b 0.0s
=> [server internal] load build context 0.0s
=> => transferring context: 7.41kB 0.0s
=> CACHED [client 2/6] WORKDIR /app 0.0s
=> CACHED [client 3/6] COPY package*.json ./ 0.0s
=> CACHED [client 4/6] RUN npm install 0.0s
=> CACHED [client 5/6] COPY . . 0.0s
=> CANCELED [client 6/6] RUN npm run build 16.6s
=> CACHED [server 2/12] WORKDIR /app 0.0s
=> CACHED [server 3/12] RUN apt-get update && apt-get install -y --no-install-recommends build-essential curl make && apt-ge 0.0s
=> CACHED [server 4/12] RUN curl -sSL https://install.python-poetry.org | python3 - 0.0s
=> CACHED [server 5/12] RUN apt-get update && apt-get install netcat-openbsd -y 0.0s
=> CACHED [server 6/12] COPY . /app 0.0s
=> CACHED [server 7/12] RUN poetry lock --no-update 0.0s
=> ERROR [server 8/12] RUN poetry install --no-root 16.4s
failed to solve: process "/bin/sh -c poetry install --no-root" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered: