Module Not Found - Can’t Locate PDF in React App

Netlify Site Name: hopeful-galileo-e207e2 (

Netlify is having an issue with ‘Module not found: Error: Can’t resolve’ when locating a PDF I have saved within my React App src folder. The PDF is able to be reached when my site is accessed locally, but has issues during the Netlify build. How can I properly direct Netlify to this file?

Build log error:

Here is my file location:

hi there,

before we dig in on how to make this work, can you tell us a little bit more about what you are trying to accomplish? is there a reason why you are trying to access the PDF as a module and not as a file?

Sorry, I’ve resolved the issue. The file was not being tracked.

1 Like

Thanks so much for coming back and letting us know. Glad everything is working now as expected. Happy building :rocket: