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
Running the code locally works fine, regardless of whether I use yarn dev or yarn start after build.
But when deploy on vercel successfully, open the site, when call /api/milvus/search will throw
An error occurred while writing the file to cache: [Error: ENOENT: no such file or directory, mkdir '/vercel'] {
errno: -2,
code: 'ENOENT',
syscall: 'mkdir',
path: '/vercel'
}
But the code does not use mkdir to create any folder at all.
Any idea? thanks!
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
-
Summary
Running the code locally works fine, regardless of whether I use yarn dev or yarn start after build.
But when deploy on vercel successfully, open the site, when call
/api/milvus/search
will throwBut the code does not use
mkdir
to create any folder at all.Any idea? thanks!
Example
https://github.com/nameczz/milvus-node-demos/blob/master/semantic-image-search/src/app/api/milvus/search/route.ts
Steps to Reproduce
Beta Was this translation helpful? Give feedback.
All reactions