Comments (13)
You can try this
https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config?source=post_page-----f3c51de2fe1d--------------------------------
from milvus-sdk-node.
@yangjinhui
I have reproduced this error. I will check the code.
I will notify you once it's resolved
from milvus-sdk-node.
You can try Next.js 14.0.1, we are fixing the issue.
from milvus-sdk-node.
You can try Next.js 14.0.1, we are fixing the issue.
Hi,I tried this version and the same error occurred.
from milvus-sdk-node.
You can try this https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config?source=post_page-----f3c51de2fe1d--------------------------------
Hi,which file should I add this to? I tried to add this into my test script,but the error is still exists.
from milvus-sdk-node.
@yangjinhui
I add this to page.tsx
You can try this example
https://github.com/milvus-io/milvus-sdk-node/tree/main/examples/nextjs
from milvus-sdk-node.
@yangjinhui I add this to page.tsx You can try this example https://github.com/milvus-io/milvus-sdk-node/tree/main/examples/nextjs
I just tried, dev is correct,but the build&start still reported an error.
Error: Unable to load service: milvus.proto.milvus.MilvusService from /Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/.next/proto/proto/milvus.proto
at u (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/.next/server/app/page.js:35:80587)
at a.connect (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/.next/server/app/page.js:35:52165)
at new a (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/.next/server/app/page.js:35:13366)
at o (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/.next/server/app/page.js:1:3786)
at a (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/.next/server/app/page.js:1:3968)
at em (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:131226)
at /Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:142926
at Array.toJSON (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:146504)
at stringify (<anonymous>)
at eR (/Users/normanyang/Downloads/milvus-sdk-node-main 2/examples/nextjs/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:134889)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '917872557'
}
from milvus-sdk-node.
@yangjinhui
I have fixed this issue by page api router
Details: https://github.com/milvus-io/milvus-sdk-node/pull/280/files
from milvus-sdk-node.
@yangjinhui I have fixed this issue by page api router Details: https://github.com/milvus-io/milvus-sdk-node/pull/280/files
I will try,thanks a lot.
from milvus-sdk-node.
Related Issues (20)
- useDatabase is not available HOT 1
- getVersion Should be removed from API? HOT 1
- Ignore Growing Segment
- Delete is not working, Delete entities not working HOT 9
- Provide a count function HOT 4
- Can not work on `grpc/grpc-js: 1.8.19` default dependency HOT 3
- `milvusClient.delete()` can not delete entities when the primary key is string.
- Fail to run langchain milvus vector store sample HOT 9
- Lack of error handling on invalid collection names
- output_fields error
- search api only return `score` and `id` HOT 7
- It should handle int64 properly
- support missing AlterCollection
- failed to get channels, collection not loaded HOT 3
- MilvusClient instantiation is not catchable HOT 1
- The dynamicSchema in the example is OK? HOT 2
- Please support search for multiple vectors HOT 2
- [Langchain] - How to set collection vector dimension? HOT 2
- Build a pool of connections <> Check if the connection is dead to revive it. HOT 1
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 milvus-sdk-node.