-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The following error is happening in some builds:
an exception was thrown but not caught: Error: ENOENT: no such file or directory, open 'src/images/instagram/B3wRq8WFD9o_m.jpeg'
UncaughtException: an exception was thrown but not caught: Error: ENOENT: no such file or directory, open 'src/images/instagram/B3wRq8WFD9o_m.jpeg'
Error: ENOENT: no such file or directory, open 'src/images/instagram/B3wRq8WFD9o_m.jpeg'
This different but similar error also appears:
ENOENT: no such file or directory, open 'src/_data/instagram.json'
fs.js:443:3 Object.openSync
fs.js:1194:35 Object.writeFileSync
/opt/build/repo/node_modules/netlify-plugin-add-instagram/index.js:40:16 onPreBuild
internal/process/next_tick.js:68:7 process._tickCallback
This might mean the user is using inputs
towards files that do not exist. However in such case, the error reporting utilities should probably be used, so those get reported as user errors instead of plugin bugs (uncaught exceptions are reported as plugin bugs).
Metadata
Metadata
Assignees
Labels
No labels