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
While deploying code on Vercel this package gives this error, using node 18 which is the latest version of @ffprobe-installer/ffprobe, However, it works fine on my local machine.
My Code:
import { path as ffprobePath } from '@ffprobe-installer/ffprobe';
router.get("/get-ffprobe", async (req, res) => {
res.status(200).json({ ffprobePath })
})
Error:
Cannot find module '@ffprobe-installer/linux-x64/ffprobe'
Require stack:
- /var/task/node_modules/@ffprobe-installer/ffprobe/index.js
Did you forget to add it to "dependencies" in `package.json`?
The text was updated successfully, but these errors were encountered:
While deploying code on Vercel this package gives this error, using node 18 which is the latest version of @ffprobe-installer/ffprobe, However, it works fine on my local machine.
My Code:
Error:
The text was updated successfully, but these errors were encountered: