Deploy to Vercel (i keep getting this error, while trying to deploy on vercel, but app works fine locally. Please help attend to this problem as urgent.) #50560
Replies: 13 comments 9 replies
-
Hi, I do believe the problem is casing. The right import is: import LinkedInIcon from '@mui/icons-material/LinkedIn'; But you have: import LinkedInIcon from '@mui/icons-material/Linkedin'; Do you see the difference?
|
Beta Was this translation helpful? Give feedback.
-
[16:42:21.915] Running build in Washington, D.C., USA (East) – iad1 Why Error This? I try deploy on vercel |
Beta Was this translation helpful? Give feedback.
-
[15:30:11.945] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
-
I am facing this issue can anyone solve this |
Beta Was this translation helpful? Give feedback.
-
I also have this same problem-> please help me out from this error |
Beta Was this translation helpful? Give feedback.
-
[07:40:11.273] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
-
Deployment failed with error.
|
Beta Was this translation helpful? Give feedback.
-
[18:13:00.431] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
-
[15:23:49.281] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
-
I also have the same problem, I try to remove this from package.json if I find [13:59:29.950] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
-
[03:04:22.761] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
-
[11:39:44.121] Running build in Washington, D.C., USA (East) – iad1 |
Beta Was this translation helpful? Give feedback.
-
[10:43:41.000] Running build in San Francisco, USA (West) – sfo1
[10:43:41.054] Cloning github.com/AerrowDev/blog-site (Branch: master, Commit: 91a95b6)
[10:43:41.185] Previous build cache not available
[10:43:42.229] Cloning completed: 1.175s
[10:43:42.438] Running "vercel build"
[10:43:43.097] Vercel CLI 29.3.6
[10:43:43.407] Running "install" command:
npm install
...[10:44:06.104]
[10:44:06.105] added 539 packages, and audited 540 packages in 22s
[10:44:06.105]
[10:44:06.105] 237 packages are looking for funding
[10:44:06.105] run
npm fund
for details[10:44:06.106]
[10:44:06.107] found 0 vulnerabilities
[10:44:06.132] Detected Next.js version: 13.4.4
[10:44:06.137] Running "npm run build"
[10:44:06.624]
[10:44:06.624] > blog-client@0.1.0 build
[10:44:06.624] > next build
[10:44:06.624]
[10:44:07.183] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[10:44:07.184] This information is used to shape Next.js' roadmap and prioritize features.
[10:44:07.184] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[10:44:07.184] https://nextjs.org/telemetry
[10:44:07.185]
[10:44:07.307] - info Linting and checking validity of types...
[10:44:09.597]
[10:44:09.597] ./src/components/MainFeaturedPost.js
[10:44:09.598] 27:8 Warning: Using
<img>
could result in slower LCP and higher bandwidth. Consider using<Image />
fromnext/image
to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element[10:44:09.598]
[10:44:09.598] info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
[10:44:09.601] - info Creating an optimized production build...
[10:44:18.360] Failed to compile.
[10:44:18.360]
[10:44:18.360] ./src/pages/Blog/[id].js
[10:44:18.360] Module not found: Can't resolve '@mui/icons-material/Linkedin'
[10:44:18.360]
[10:44:18.360] https://nextjs.org/docs/messages/module-not-found
[10:44:18.360]
[10:44:18.361] ./src/pages/Blog/index.js
[10:44:18.361] Module not found: Can't resolve '@mui/icons-material/Linkedin'
[10:44:18.361]
[10:44:18.361] https://nextjs.org/docs/messages/module-not-found
[10:44:18.361]
[10:44:18.361] ./src/pages/index.js
[10:44:18.361] Module not found: Can't resolve '@mui/icons-material/Linkedin'
[10:44:18.362]
[10:44:18.363] https://nextjs.org/docs/messages/module-not-found
[10:44:18.363]
[10:44:18.364]
[10:44:18.364] > Build failed because of webpack errors
[10:44:18.400] Error: Command "npm run build" exited with 1
[10:44:18.555] BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1
Beta Was this translation helpful? Give feedback.
All reactions