Comments (4)
Same here, with a few more logs.
Config: Mac mini M1 - Ventura 13.0
% docker compose up
[+] Running 2/0
⠿ Container dust-api Created 0.0s
⠿ Container dust-front Created 0.0s
Attaching to dust-api, dust-front
dust-front |
dust-front | > dev
dust-front | > next dev
dust-front |
dust-front | ready - started server on 0.0.0.0:3000, url: http://localhost:3000
dust-front | event - compiled client and server successfully in 627 ms (209 modules)
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-api | [i] 0 pending runs
dust-front | wait - compiling / (client and server)...
dust-front | event - compiled client and server successfully in 585 ms (896 modules)
dust-front | [next-auth][warn][EXPERIMENTAL_API]
dust-front | `unstable_getServerSession` is experimental and may be removed or changed in the future, as the name suggested.
dust-front | https://next-auth.js.org/configuration/nextjs#unstable_getServerSession}
dust-front | https://next-auth.js.org/warnings#EXPERIMENTAL_API
dust-front | error - SerializableError: Error serializing `.ga_tracking_id` returned from `getServerSideProps` in "/".
dust-front | Reason: `undefined` cannot be serialized as JSON. Please use `null` or omit this value.
dust-front | at isSerializable (/dust-front/node_modules/next/dist/lib/is-serializable-props.js:36:19)
dust-front | at /dust-front/node_modules/next/dist/lib/is-serializable-props.js:43:66
dust-front | at Array.every (<anonymous>)
dust-front | at isSerializable (/dust-front/node_modules/next/dist/lib/is-serializable-props.js:40:39)
dust-front | at Object.isSerializableProps (/dust-front/node_modules/next/dist/lib/is-serializable-props.js:63:12)
dust-front | at Object.renderToHTML (/dust-front/node_modules/next/dist/server/render.js:570:67)
dust-front | at async doRender (/dust-front/node_modules/next/dist/server/base-server.js:669:38)
dust-front | at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (/dust-front/node_modules/next/dist/server/base-server.js:778:28)
dust-front | at async /dust-front/node_modules/next/dist/server/response-cache/index.js:80:36 {
dust-front | page: '/'
dust-front | }
dust-front | wait - compiling /_error (client and server)...
dust-front | event - compiled client and server successfully in 122 ms (897 modules)
dust-front | wait - compiling /[user] (client and server)...
dust-front | warn - Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/basic-features/fast-refresh#how-it-works
dust-front | event - compiled client and server successfully in 235 ms (900 modules)
dust-front | error - SerializableError: Error serializing `.ga_tracking_id` returned from `getServerSideProps` in "/".
dust-front | Reason: `undefined` cannot be serialized as JSON. Please use `null` or omit this value.
dust-front | at isSerializable (/dust-front/node_modules/next/dist/lib/is-serializable-props.js:36:19)
dust-front | at /dust-front/node_modules/next/dist/lib/is-serializable-props.js:43:66
dust-front | at Array.every (<anonymous>)
dust-front | at isSerializable (/dust-front/node_modules/next/dist/lib/is-serializable-props.js:40:39)
dust-front | at Object.isSerializableProps (/dust-front/node_modules/next/dist/lib/is-serializable-props.js:63:12)
dust-front | at Object.renderToHTML (/dust-front/node_modules/next/dist/server/render.js:570:67)
dust-front | at async doRender (/dust-front/node_modules/next/dist/server/base-server.js:669:38)
dust-front | at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (/dust-front/node_modules/next/dist/server/base-server.js:778:28)
dust-front | at async /dust-front/node_modules/next/dist/server/response-cache/index.js:80:36 {
dust-front | page: '/'
dust-front | }
dust-front | wait - compiling /[user]/apps (client and server)...
dust-front | event - compiled client and server successfully in 424 ms (1259 modules)
dust-front | wait - compiling /api/apps/[user] (client and server)...
dust-front | event - compiled successfully in 32 ms (106 modules)
dust-front | error - Error: Dialect needs to be explicitly supplied as of v4.0.0
dust-front | at new Sequelize (/dust-front/node_modules/sequelize/lib/sequelize.js:135:13)
dust-front | at eval (webpack-internal:///(api)/./lib/models.js:14:19)
dust-front | error - FetchError: invalid json response body at http://localhost:3000/api/apps/favicon.ico reason: Unexpected token < in JSON at position 0
dust-front | at /dust-front/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
dust-front | at processTicksAndRejections (node:internal/process/task_queues:96:5)
dust-front | at async Promise.all (index 0)
dust-front | at async getServerSideProps (webpack-internal:///./pages/[user]/apps/index.jsx:322:20)
dust-front | at async Object.renderToHTML (/dust-front/node_modules/next/dist/server/render.js:508:20)
dust-front | at async doRender (/dust-front/node_modules/next/dist/server/base-server.js:669:38)
dust-front | at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (/dust-front/node_modules/next/dist/server/base-server.js:778:28)
dust-front | at async /dust-front/node_modules/next/dist/server/response-cache/index.js:80:36 {
dust-front | type: 'invalid-json',
dust-front | page: '/[user]/apps'
dust-front | }
dust-front | error - Error: Dialect needs to be explicitly supplied as of v4.0.0
dust-front | at new Sequelize (/dust-front/node_modules/sequelize/lib/sequelize.js:135:13)
dust-front | at eval (webpack-internal:///(api)/./lib/models.js:14:19)
dust-front | error - FetchError: invalid json response body at http://localhost:3000/api/apps/favicon.ico reason: Unexpected token < in JSON at position 0
dust-front | at /dust-front/node_modules/next/dist/compiled/node-fetch/index.js:1:51220
dust-front | at processTicksAndRejections (node:internal/process/task_queues:96:5)
dust-front | at async Promise.all (index 0)
dust-front | at async getServerSideProps (webpack-internal:///./pages/[user]/apps/index.jsx:322:20)
dust-front | at async Object.renderToHTML (/dust-front/node_modules/next/dist/server/render.js:508:20)
dust-front | at async doRender (/dust-front/node_modules/next/dist/server/base-server.js:669:38)
dust-front | at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (/dust-front/node_modules/next/dist/server/base-server.js:778:28)
dust-front | at async /dust-front/node_modules/next/dist/server/response-cache/index.js:80:36 {
dust-front | type: 'invalid-json',
dust-front | page: '/[user]/apps'
dust-front | }
Also get 404 on http://localhost:3000/api/init
from dust.
Hi! Yes the docker files are not up to date unfortunately. Will try to fix them asap 👍
from dust.
DB init front side is still not as easy to do as I would like to avoid code duplication (while juggling with discrepancy of imports between node and nextjs)
from dust.
This is now all fixed!
from dust.
Related Issues (20)
- [Qdrant] Create collection creation code
- [Qdrant] test v1 collection creation and code locally
- [Qdrant] migration of our own data sources to v1 cluster
- [Qdrant] Full migration to v1
- [Qdrant] delurk v0 code and clusters
- [Qdrant] Add support for embedder migration
- [Qdrant] Add support for new OpenAI embedders
- [Qdrant] Add support for Mistral embedder
- [Qdrant] TBD: Full migration to new OpenAI embedders
- [Multi-Actions] [Websearch] Create dust app for websearch in `dust-apps` workspace
- [Multi-Actions] [Websearch] Assistant message action rendering
- [Multi-Actions] [Websearch] Migrate action to new interfaces `WebsearchAction` extending `BaseAction` and `WebsearchActionConfiguration` extending `BaseActionConfiguration`
- [Multi-Actions] [Websearch] Production pass HOT 2
- [Qdrant] Move qdrant_collection to DustQdrantClient HOT 1
- [Multi-Actions][Websearch] Action types & models
- [Multi Actions] Assistant Builder: Pre-fill Dust App action name & description when picking the dust app
- [Multi Actions] Understand why some multi-actions agents seem to cite sources much less often than traditional single action ones
- [Process Action] Optimize split to have at least N model calls even if it holds in one context
- [Process Action] Fallback to an array with one string if parsing failed
- [Process Action] release HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dust.