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
Issue : Module not found: Can't resolve './lib-cov/fluent-ffmpeg' on Vercel deployment
Here is the diff that solved my problem:
Module.exports ( located in node_modules/fluent-ffmpeg ) need to be changed from :
module.exports = process.env.FLUENTFFMPEG_COV ? require('./lib-cov/fluent-ffmpeg') : require('./lib/fluent-ffmpeg');
into :
module.exports = require('./lib/fluent-ffmpeg')
The text was updated successfully, but these errors were encountered:
Today I used patch-package to patch
[email protected]
for the project I'm working on.Issue : Module not found: Can't resolve './lib-cov/fluent-ffmpeg' on Vercel deployment
Here is the diff that solved my problem:
Module.exports ( located in node_modules/fluent-ffmpeg ) need to be changed from :
module.exports = process.env.FLUENTFFMPEG_COV ? require('./lib-cov/fluent-ffmpeg') : require('./lib/fluent-ffmpeg');
into :
module.exports = require('./lib/fluent-ffmpeg')
The text was updated successfully, but these errors were encountered: