title: Failed to deploy frontend of a MERN site on Netlify
body: <p>I am trying to deploy the front end of my MERN stack application on Netlify. I've successfully deployed my backend to Heroku. Also, I've changed the links at appropriate places to fetch data from the backend. But when I try to deploy the frontend, Netlify throws some errors. While deploying I used the 'CI= npm run build' as a build command.
  This is the error</p>
  <pre><code>4:35:03 PM: Failed to compile.
  4:35:03 PM: 
  4:35:03 PM: ./src/Components/login.js
  4:35:03 PM: You attempted to import /src/images/logo.jpg which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
  4:35:03 PM: You can either move it inside src/, or add a symlink to it from project's node_modules/.
  4:35:03 PM: ​
  4:35:03 PM: ────────────────────────────────────────────────────────────────
  4:35:03 PM:   &quot;build.command&quot; failed                                        
  4:35:03 PM: ────────────────────────────────────────────────────────────────
  4:35:03 PM: ​
  4:35:03 PM:   Error message
  4:35:03 PM:   Command failed with exit code 1: CI= npm run build
  4:35:03 PM: ​
  4:35:03 PM:   Error location
  4:35:03 PM:   In Build command from Netlify app:
  4:35:03 PM:   CI= npm run build
  4:35:03 PM: ​
  4:35:03 PM:   Resolved config
  4:35:03 PM:   build:
  4:35:03 PM:     command: CI= npm run build
  4:35:03 PM:     commandOrigin: ui
  4:35:03 PM:     publish: /opt/build/repo/build
  4:35:03 PM:     publishOrigin: UI
  </code></pre>
  <p>I've placed my logo.jpg in the src folder of the project. But it says it</p>