Deploying to vercel getting this error while trying to deploy any assistance? #78800
Unanswered
StrongAndMal
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
[21:01:13.092] Running build in Washington, D.C., USA (East) – iad1
[21:01:13.163] Cloning github.com/StrongAndMal/Portfolio-Website (Branch: main, Commit: 54e9df2)
[21:01:13.179] Skipping build cache, deployment was triggered without cache.
[21:01:14.163] Cloning completed: 998.000ms
[21:01:14.891] Running "vercel build"
[21:01:15.307] Vercel CLI 41.7.0
[21:01:18.125] npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
[21:01:18.214] npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[21:01:18.449] npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
[21:01:18.696] npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
[21:01:18.732] npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
[21:01:19.100] npm warn deprecated [email protected]: The SDK name changed to @emailjs/browser
[21:01:20.195] npm warn deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
[21:01:20.424]
[21:01:20.424] added 284 packages, and audited 285 packages in 4s
[21:01:20.426]
[21:01:20.426] 62 packages are looking for funding
[21:01:20.426] run
npm fund
for details[21:01:20.440]
[21:01:20.441] 2 moderate severity vulnerabilities
[21:01:20.441]
[21:01:20.441] To address all issues (including breaking changes), run:
[21:01:20.442] npm audit fix --force
[21:01:20.442]
[21:01:20.442] Run
npm audit
for details.[21:01:20.601]
[21:01:20.602] > [email protected] build
[21:01:20.602] > vite build
[21:01:20.603]
[21:01:20.852] �[36mvite v5.4.19 �[32mbuilding for production...�[36m�[39m
[21:01:20.905] transforming...
[21:01:21.638] �[32m✓�[39m 21 modules transformed.
[21:01:21.644] �[31mx�[39m Build failed in 765ms
[21:01:21.645] �[31merror during build:
[21:01:21.645] �[31m[vite]: Rollup failed to resolve import "react-icons/fa" from "/vercel/path0/Portfolio-website/src/components/NavBar.jsx".
[21:01:21.645] This is most likely unintended because it can break your application at runtime.
[21:01:21.645] If you do want to externalize this module explicitly add it to
[21:01:21.645]
build.rollupOptions.external
�[31m[21:01:21.646] at viteWarn (file:///vercel/path0/Portfolio-website/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:65839:17)
[21:01:21.646] at onwarn (file:///vercel/path0/Portfolio-website/node_modules/@vitejs/plugin-react/dist/index.mjs:102:9)
[21:01:21.646] at onRollupWarning (file:///vercel/path0/Portfolio-website/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:65869:5)
[21:01:21.646] at onwarn (file:///vercel/path0/Portfolio-website/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:65534:7)
[21:01:21.646] at file:///vercel/path0/Portfolio-website/node_modules/rollup/dist/es/shared/node-entry.js:20723:13
[21:01:21.646] at Object.logger [as onLog] (file:///vercel/path0/Portfolio-website/node_modules/rollup/dist/es/shared/node-entry.js:22588:9)
[21:01:21.646] at ModuleLoader.handleInvalidResolvedId (file:///vercel/path0/Portfolio-website/node_modules/rollup/dist/es/shared/node-entry.js:21335:26)
[21:01:21.646] at file:///vercel/path0/Portfolio-website/node_modules/rollup/dist/es/shared/node-entry.js:21293:26�[39m
[21:01:21.662] Error: Command "cd Portfolio-website && npm install && npm run build" exited with 1
[21:01:22.175]
[21:01:25.152] Exiting build container
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions