it says that there is a type error for field "src" but i dont think we have used that field. can you share you code via github. so that i can look into it.
@killertotoso9880 I think the error might be from nextjs config file where you add domains for images and if it is not, try running the cmd "npm run build" which will tell you where the error is caused. Hope this helps
didn't work for me
Can you tell which part you are having an error maybe i can help
@@the-tech-maze
Unhandled Runtime Error
TypeError: src is null
Call Stack
isStaticRequire
../src/shared/lib/get-img-props.ts
isStaticRequire
../src/shared/lib/get-img-props.ts
src
../src/shared/lib/get-img-props.ts
props
../src/client/image-component.tsx
React
renderWithHooks
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (11121:1)
updateForwardRef
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (15854:1)
mountLazyComponent
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (16785:1)
beginWork$1
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (18464:1)
beginWork
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (26927:1)
performUnitOfWork
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (25748:1)
workLoopSync
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (25464:1)
renderRootSync
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (25419:1)
recoverFromConcurrentError
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (24597:1)
performConcurrentWorkOnRoot
node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js (24542:1)
workLoop
node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js (256:1)
flushWork
node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js (225:1)
performWorkUntilDeadline
node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js (534:1)
It happened after finishing the project step by step and then I just tried using git clone in a new directory and it gave the same problem
it says that there is a type error for field "src" but i dont think we have used that field. can you share you code via github. so that i can look into it.
@killertotoso9880
I think the error might be from nextjs config file where you add domains for images and if it is not, try running the cmd "npm run build" which will tell you where the error is caused.
Hope this helps