https://www.stephen-havenharris.com/
Hello there! I am new to this so any help would be appreciated!
First, I registered my domain with Google and keep getting " 404. That’s an error.
The requested URL was not found on this server. That’s all we know." Am I doing something wrong?
Also, as seen above my website works fine on VS Cose, but when I try to deploy it I get this:
7:44:24 PM: $ npm start
7:44:24 PM: > react-portfolio@0.1.0 start
7:44:24 PM: > react-scripts start
7:44:26 PM: (node:1410) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: ‘onAfterSetupMiddleware’ option is deprecated. Please use the ‘setupMiddlewares’ option.
7:44:26 PM: (Use node --trace-deprecation ...
to show where the warning was created)
7:44:26 PM: (node:1410) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: ‘onBeforeSetupMiddleware’ option is deprecated. Please use the ‘setupMiddlewares’ option.
7:44:26 PM: Starting the development server…
7:44:26 PM:
7:44:31 PM: Failed to compile.
7:44:31 PM:
7:44:31 PM: Module not found: Error: Can’t resolve ‘C:/Users/Owner/Desktop/New folder/Portfolio/src/images/Stephen-Haven Harris (2).jpg’ in ‘/opt/build/repo/src/Components’
WARNING in [eslint]
7:44:31 PM: src/Components/Contact.js
7:44:31 PM: Line 57:15: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: eslint-plugin-jsx-a11y/anchor-is-valid.md at 93f78856655696a55309440593e0948c6fb96134 · jsx-eslint/eslint-plugin-jsx-a11y · GitHub jsx-a11y/anchor-is-valid
7:44:31 PM: src/Components/Navbar.js
7:44:31 PM: Line 8:9: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: eslint-plugin-jsx-a11y/anchor-is-valid.md at 93f78856655696a55309440593e0948c6fb96134 · jsx-eslint/eslint-plugin-jsx-a11y · GitHub jsx-a11y/anchor-is-valid
7:44:31 PM: ERROR in ./src/Components/About.js 5:0-103
7:44:31 PM: Module not found: Error: Can’t resolve ‘C:/Users/Owner/Desktop/New folder/Portfolio/src/images/Stephen-Haven Harris (2).jpg’ in ‘/opt/build/repo/src/Components’
7:44:31 PM: ERROR in ./src/Components/Projects.js 6:0-92
7:44:31 PM: Module not found: Error: Can’t resolve ‘C:/Users/Owner/Desktop/New folder/Portfolio/src/data.js’ in ‘/opt/build/repo/src/Components’
7:44:31 PM: ERROR in ./src/Components/Projects.js 7:0-98
7:44:31 PM: Module not found: Error: Can’t resolve ‘C:/Users/Owner/Desktop/New folder/Portfolio/src/images/Vending Application.png’ in ‘/opt/build/repo/src/Components’
7:44:31 PM: ERROR in ./src/Components/Projects.js 8:0-96
7:44:31 PM: Module not found: Error: Can’t resolve ‘C:/Users/Owner/Desktop/New folder/Portfolio/src/images/TEnmo Application.png’ in ‘/opt/build/repo/src/Components’
7:44:31 PM: webpack compiled with 4 errors and 1 warning