GithubHelp home page GithubHelp logo

Comments (13)

zhanshuyou avatar zhanshuyou commented on May 30, 2024 1

You can try this
image
https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config?source=post_page-----f3c51de2fe1d--------------------------------

from milvus-sdk-node.

zhanshuyou avatar zhanshuyou commented on May 30, 2024 1

@yangjinhui
I have reproduced this error. I will check the code.
I will notify you once it's resolved

from milvus-sdk-node.

zhanshuyou avatar zhanshuyou commented on May 30, 2024

You can try Next.js 14.0.1, we are fixing the issue.

from milvus-sdk-node.

yangjinhui avatar yangjinhui commented on May 30, 2024

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.

yangjinhui avatar yangjinhui commented on May 30, 2024

You can try this image 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.

zhanshuyou avatar zhanshuyou commented on May 30, 2024

@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 avatar yangjinhui commented on May 30, 2024

@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.

zhanshuyou avatar zhanshuyou commented on May 30, 2024

@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 avatar yangjinhui commented on May 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.