Relative Content

Tag Archive for reactjsvercel

error during build in Vercel, Rollup failed to resolve

Error: [vite]: Rollup failed to resolve import “react-router-dom” from “/vercel/path0/src/main.jsx”. everything that i have in main.jsx: import React from “react”; import ReactDOM from “react-dom/client”; import App from “./App.jsx”; import “./index.css”; import { BrowserRouter } from “react-router-dom”; import { ThemeProvider } from “@material-tailwind/react”; ReactDOM.createRoot(document.getElementById(“root”)).render( <BrowserRouter> <ThemeProvider> <App /> </ThemeProvider> </BrowserRouter> ); Github link: https://github.com/yusufyildirimYY/VoltVitrin Website working […]

Getting an error while deploying my react project in vercel

Running build in Washington, D.C., USA (East) – iad1
Cloning github.com/KaungKhantSoe2004/LinWorkOut (Branch: master, Commit: e584ed4)
Skipping build cache, deployment was triggered without cache.
Cloning completed: 656.11ms
Running “vercel build”
Vercel CLI 34.2.2
Running “install” command: npm install
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
npm WARN deprecated [email protected]: Use your platform’s native atob() and btoa() methods instead
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: Use your platform’s native DOMException instead
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: Use your platform’s native performance.now() and performance.timeOrigin.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm WARN deprecated [email protected]: [email protected]
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
added 1575 packages, and audited 1576 packages in 32s
257 packages are looking for funding
run npm fund for details
12 vulnerabilities (5 moderate, 7 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix –force
Run npm audit for details.
npm notice
npm notice New minor version of npm available! 10.5.0 -> 10.8.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.0
npm notice Run npm install -g [email protected] to update!
npm notice