Next.js Discord

Discord Forum

How to resolve ffprobe-installer compile issue

Unanswered
Philippine Crocodile posted this in #help-forum
Open in Discord
Philippine CrocodileOP
what i tried:
webpack rules in nextjs.config.js
(https://nextjs.org/docs/app/api-reference/next-config-js/webpack)

The nextjs webapp has many workspace dependencies.
When using app router, a page fetches data from a workspace package. I think ffprobe is a downstream dependency as defined in the root bun.lockb

next dev --turbo
│ [195 lines elided]
│
│ - *0* arguments[0]
│   ⚠️  function calls are not analysed yet
│
│
│  ⚠ ./packages/core/dist/index.js:19:105547
│ lint TP1004 fs.statSync(Iterated(???*0*)) is very dynamic
│   17 |                                created_at numeric
│   18 |                        )
> 19 |                `;await a.run(i);let d=(await a.values(m`SELECT id, hash, created_at FROM ${m.identifier(s)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await a.transaction(async n=>{for(let o of e)if(!d||Number(d[2])<o.folderMillis){for
...
,n=is(i),o=is(p),l=t.isServer??(typeof window>"u"||"Deno"in window),c=d.merge(o),w=n.merge(o).merge(d),I=l?w.@orbitkit/web dev $ next dev --turbo
│ [206 lines elided]
│   20 | /*! Bundled license information:
│   21 |
│   22 | universal-cookie/esm/index.mjs:
│
│ - *0* ???*1*["filter"](*arrow function 576867*)
│   ⚠️  unknown callee object
│ - *1* arguments[0]
│   ⚠️  function calls are not analysed yet
│
└─ Running...

1 Reply

Philippine CrocodileOP