You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
hi,
i'm in dev mode in my portfolio i try to deploy it but i get this fatal error i try to fixe it , maybe the compiler doesn't expect the .jsx i add resolve to solve in in config but still the same thing ?
Example
No response
Steps to Reproduce
[22:29:06.754] Running build in Washington, D.C., USA (East) – iad1
[22:29:07.340] Cloning github.com/Selfaiz/SMF (Branch: master, Commit: 6dd944f)
[22:29:07.735] Previous build cache not available
[22:29:08.695] Cloning completed: 1.352s
[22:29:09.177] Running "vercel build"
[22:29:09.648] Vercel CLI 32.6.1
[22:29:10.026] Installing dependencies...
[22:29:19.216]
[22:29:19.216] added 154 packages in 9s
[22:29:19.217]
[22:29:19.217] 19 packages are looking for funding
[22:29:19.217] run npm fund for details
[22:29:19.240] Detected Next.js version: 14.0.3
[22:29:19.242] Detected package-lock.json generated by npm 7+
[22:29:19.243] Running "npm run build"
[22:29:19.860]
[22:29:19.860] > portfolio@0.1.0 build
[22:29:19.860] > next build
[22:29:19.860]
[22:29:20.442] ⚠ Invalid next.config.js options detected:
[22:29:20.442] ⚠ Unrecognized key(s) in object: 'resolve'
[22:29:20.442] ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
[22:29:20.466] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[22:29:20.467] This information is used to shape Next.js' roadmap and prioritize features.
[22:29:20.467] 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:
[22:29:20.468] https://nextjs.org/telemetry
[22:29:20.468]
[22:29:20.565] ▲ Next.js 14.0.3
[22:29:20.566]
[22:29:20.567] Creating an optimized production build ...
[22:29:29.274] Failed to compile.
[22:29:29.275]
[22:29:29.275] ./app/About/AboutContent.jsx
[22:29:29.276] Module not found: Can't resolve './skills/Skills'
[22:29:29.276]
[22:29:29.276] https://nextjs.org/docs/messages/module-not-found
[22:29:29.276]
[22:29:29.277]
[22:29:29.277] > Build failed because of webpack errors
[22:29:29.315] Error: Command "npm run build" exited with 1
[22:29:29.549]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
hi,
i'm in dev mode in my portfolio i try to deploy it but i get this fatal error i try to fixe it , maybe the compiler doesn't expect the .jsx i add resolve to solve in in config but still the same thing ?
Example
No response
Steps to Reproduce
[22:29:06.754] Running build in Washington, D.C., USA (East) – iad1
[22:29:07.340] Cloning github.com/Selfaiz/SMF (Branch: master, Commit: 6dd944f)
[22:29:07.735] Previous build cache not available
[22:29:08.695] Cloning completed: 1.352s
[22:29:09.177] Running "vercel build"
[22:29:09.648] Vercel CLI 32.6.1
[22:29:10.026] Installing dependencies...
[22:29:19.216]
[22:29:19.216] added 154 packages in 9s
[22:29:19.217]
[22:29:19.217] 19 packages are looking for funding
[22:29:19.217] run
npm fundfor details[22:29:19.240] Detected Next.js version: 14.0.3
[22:29:19.242] Detected
package-lock.jsongenerated by npm 7+[22:29:19.243] Running "npm run build"
[22:29:19.860]
[22:29:19.860] > portfolio@0.1.0 build
[22:29:19.860] > next build
[22:29:19.860]
[22:29:20.442] ⚠ Invalid next.config.js options detected:
[22:29:20.442] ⚠ Unrecognized key(s) in object: 'resolve'
[22:29:20.442] ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
[22:29:20.466] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[22:29:20.467] This information is used to shape Next.js' roadmap and prioritize features.
[22:29:20.467] 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:
[22:29:20.468] https://nextjs.org/telemetry
[22:29:20.468]
[22:29:20.565] ▲ Next.js 14.0.3
[22:29:20.566]
[22:29:20.567] Creating an optimized production build ...
[22:29:29.274] Failed to compile.
[22:29:29.275]
[22:29:29.275] ./app/About/AboutContent.jsx
[22:29:29.276] Module not found: Can't resolve './skills/Skills'
[22:29:29.276]
[22:29:29.276] https://nextjs.org/docs/messages/module-not-found
[22:29:29.276]
[22:29:29.277]
[22:29:29.277] > Build failed because of webpack errors
[22:29:29.315] Error: Command "npm run build" exited with 1
[22:29:29.549]
Beta Was this translation helpful? Give feedback.
All reactions