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

Running errors on the main branch #194

Closed
plpycoin opened this issue Nov 19, 2024 · 1 comment · Fixed by #196
Closed

Running errors on the main branch #194

plpycoin opened this issue Nov 19, 2024 · 1 comment · Fixed by #196
Labels
bug Something isn't working

Comments

@plpycoin
Copy link
Contributor

error output:

> docet-website@0.1.0 build
> next build

  ▲ Next.js 14.2.11
  - Environments: .env.local

   Creating an optimized production build ...

> Build error occurred
Error: Page config in /data/tib/ie/docetl/website/src/app/api/convertDocuments/route.ts is deprecated. Replace `export const config=…` with the following:
Visit https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config for more information.
    at getPageStaticInfo (/data/tib/ie/docetl/website/node_modules/next/dist/build/analysis/get-page-static-info.js:425:27)
    at async getStaticInfoIncludingLayouts (/data/tib/ie/docetl/website/node_modules/next/dist/build/entries.js:108:28)
    at async /data/tib/ie/docetl/website/node_modules/next/dist/build/entries.js:410:32
    at async Promise.all (index 2)
    at async Promise.all (index 0)
    at async createEntrypoints (/data/tib/ie/docetl/website/node_modules/next/dist/build/entries.js:550:5)
    at async Span.traceAsyncFn (/data/tib/ie/docetl/website/node_modules/next/dist/trace/trace.js:154:20)
    at async webpackBuildImpl (/data/tib/ie/docetl/website/node_modules/next/dist/build/webpack-build/impl.js:104:25)
    at async Object.workerMain (/data/tib/ie/docetl/website/node_modules/next/dist/build/webpack-build/impl.js:330:20) {
  type: 'Error'
}
make: *** [Makefile:42: run-ui] Error 1

npm --version
10.9.0

node --version
v18.20.4

@shreyashankar
Copy link
Collaborator

shreyashankar commented Nov 19, 2024

ah we may have different TS or JS configs...pushing a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants