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
When i try to deploy my own OAP, i tried relative path like "/api", it failed. I tried to use my actual URL like "https://myapp.com/api" , it failed during build time too.
The error I repeatedly getting is TypeError: Invalid URL
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: TypeError: Invalid URL
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at new NodeError (node:internal/errors:405:5)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at new URL (node:internal/url:676:13)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at new aV (/codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/chunks/3661.js:6:71118)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at ax (/codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/chunks/3661.js:6:74729)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at /codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/chunks/8848.js:1:1549
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at new o (/codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/chunks/8848.js:1:1602)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at 40154 (/codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/chunks/8848.js:1:5109)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at e (/codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/webpack-runtime.js:1:143)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at 50332 (/codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/app/debug-auth/page.js:1:4959)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: at Object.e [as require] (/codebuild/output/src2107557195/src/open-agent-platform/apps/web/.next/server/webpack-runtime.js:1:143)
@open-agent-platform/web:build: @open-agent-platform/web:build:internal: Export encountered an error on /debug-auth/page: /debug-auth, exiting the build.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think i ran into a loop.
in the .env.example, I found:
When i try to deploy my own OAP, i tried relative path like "/api", it failed. I tried to use my actual URL like "https://myapp.com/api" , it failed during build time too.
The error I repeatedly getting is
TypeError: Invalid URL
Beta Was this translation helpful? Give feedback.
All reactions