-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
agentgpt image build failure #147
Comments
same here plz help |
same here too |
Thanks guys. This was caused by a recent pr. Should be fixed later today hopefully. |
Hello @awtkns, my PR should get it fixed 😁. |
I'm seeing an error that looks like an artifact of this. Related?
Steps: git clone |
A fix has been merged already, please run |
@exilvm I'd already done that; I'm up to date wrt |
Show us the content of |
Here's the result of pull, status, setup,
after startup, before visiting localhost:3000
|
Hi @jasonhemann! I was able to reproduce that error, although it only occurs inside the container, the app will still run just fine. I understand the cause of the error and i will look more into it when i can. Thanks for your feedback! 👍. |
@exilvm , thank you very much for the update. I can't be sure this is related, but on my system any bot I attempt to write fails to run, and the log reports the same error message:
It's /possible/ that I am assigning tasks too difficult, but I don't suspect that's the case. I did, of course, retry to no avail. |
same here too,vercel deploy |
I found that in env add
can run normally npm run build |
docker build -t agentgpt .
Sending build context to Docker daemon 1.396MB
Step 1/10 : FROM node:19-alpine
---> adb3ed8bc61e
Step 2/10 : WORKDIR /app
---> Using cache
---> cba5f0a07260
Step 3/10 : COPY package*.json ./
---> Using cache
---> de120e187c24
Step 4/10 : RUN npm ci
---> Using cache
---> 626b7451784c
Step 5/10 : COPY . .
---> Using cache
---> 2ce6e3f77cbf
Step 6/10 : RUN mv .env.docker .env && sed -ie 's/postgresql/sqlite/g' prisma/schema.prisma && sed -ie 's/mysql/sqlite/g' prisma/schema.prisma && sed -ie 's/@db.Text//' prisma/schema.prisma
---> Using cache
---> 946699f0db5f
Step 7/10 : EXPOSE 3000
---> Using cache
---> ac2710a70fba
Step 8/10 : RUN npx prisma generate && npx prisma migrate dev --name init && npx prisma db push
---> Using cache
---> 1a10684d6c89
Step 9/10 : RUN npm run build
---> Running in 14303914832d
warn - Linting is disabled
info - Loaded env from /app/.env
❌ Invalid environment variables:
GOOGLE_CLIENT_ID: Required
GOOGLE_CLIENT_SECRET: Required
GITHUB_CLIENT_ID: Required
GITHUB_CLIENT_SECRET: Required
DISCORD_CLIENT_ID: Required
DISCORD_CLIENT_SECRET: Required
error - Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
The text was updated successfully, but these errors were encountered: