Open sleepyChen opened 1 year ago
A similar issue is happening with @ffmpeg/core
:
The file is definitely present.
Same error
node#fetch can't read file system path, I wonder why they didn't notice this
I know this issue is old but it may serve a purpose to those who get the same error - have you tried doing a relative path like '/node_modules/@ffmpeg/ffmpeg/src/browser/ffmpeg-core.js'
When using this npm plugin, an error occurs when executing ffmpeg.load with the following error message: Not allowed to load local resource: file:///Users/xxx/node_modules/@ffmpeg/ffmpeg/src/browser/ffmpeg-core.js.
how can i fix it?