-
Notifications
You must be signed in to change notification settings - Fork 302
Closed
Labels
package issuepriorityImportant issue or pull request to fast-trackImportant issue or pull request to fast-track
Description
Steps to reproduce
yarn init -y
yarn add @ffmpeg-installer/ffmpeg @zeit/ncc@0.18.3
echo "let {path} = require('@ffmpeg-installer/ffmpeg'); console.log(path);" > index.js
./node_modules/.bin/ncc build index.js
node dist
Error Message
/Users/styfle/Code/foo/ffmpeg-installer-example/dist/index.js:85
throw 'Could not find ffmpeg executable, tried "' + npm3Binary + '" and "' + npm2Binary + '"';
^
Could not find ffmpeg executable, tried "/Users/styfle/Code/ffmpeg-installer-example/dist/darwin-x64/ffmpeg" and "/Users/styfle/Code/ffmpeg-installer-example/dist/ffmpeg/node_modules/@ffmpeg-installer/darwin-x64/ffmpeg"
A similar message during deployment:
Notes
This package uses __dirname
in the require() so it looks like it should work.
Metadata
Metadata
Assignees
Labels
package issuepriorityImportant issue or pull request to fast-trackImportant issue or pull request to fast-track