my website is working fine on local host but not when deployed to vercel, i keep seeing a blank page this is the error on my console log main.5dc48de0.js:1 Uncaught SyntaxError: Unexpected token ‘<’ please i need help
this is the link to one of the sites i am experiencing this issue: https://ecommerce-six-eta-17.vercel.app/
i pushed my work to github and imported it in vercel to deploy it. and after the deploy process i ended up with a blank white page. I am having this issue with only my react websites. my next.js site worked fine and my static site using index.html, style.css and app.js.
hello, i tried doing that but i am still getting the same error message, this is what my app.jsx looks like; import { BrowserRouter as Router, Routes, Route } from “react-router-dom”;
import Navbar from “./components/Navbar”;
import Product from “./pages/Product”;
import Home from “./pages/Home”;
import ProductList from “./pages/ProductList”;
import Register from “./pages/Register”;
import Login from “./pages/Login”;
import Cart from “./pages/Cart”;