
> آریاپی@0.1.0 build
> next build

  ▲ Next.js 14.2.35
  - Experiments (use with caution):
    · nextScriptWorkers

   Linting and checking validity of types ...

./components/common/Banners/BannerGPT/index.jsx
65:6  Warning: React Hook useEffect has a missing dependency: 'fetchBanner'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/common/Banners/Hotel/index.jsx
69:6  Warning: React Hook useEffect has missing dependencies: 'fetchBanner' and 'nameBanner'. Either include them or remove the dependency array. If 'setDataBanner' needs the current value of 'nameBanner', you can also switch to useReducer instead of useState and read 'nameBanner' in the reducer.  react-hooks/exhaustive-deps

./components/common/Loading/index.jsx
26:6  Warning: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/common/ModalLogin/index.jsx
71:6  Warning: React Hook useEffect has missing dependencies: 'dispatch', 'formData', and 'handelGetProfile'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps

./components/common/PrizeSection/Timer.jsx
25:8  Warning: React Hook useEffect has a missing dependency: 'setShowForm'. Either include it or remove the dependency array. If 'setShowForm' changes too often, find the parent component that defines it and wrap that definition in useCallback.  react-hooks/exhaustive-deps

./components/layout/MainLayout/MenuAndNav/index.jsx
39:6  Warning: React Hook useEffect has a missing dependency: 'get'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/layout/MainLayout/Nav/Banner.jsx
25:6  Warning: React Hook useEffect has a missing dependency: 'setShowBanner'. Either include it or remove the dependency array. If 'setShowBanner' changes too often, find the parent component that defines it and wrap that definition in useCallback.  react-hooks/exhaustive-deps
41:6  Warning: React Hook useEffect has a missing dependency: 'get'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/layout/MainLayout/Nav/MegaMenu/index.jsx
74:6  Warning: React Hook useEffect has a missing dependency: 'get'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/layout/MainLayout/index.jsx
16:6  Warning: React Hook useEffect has a missing dependency: 'handelGetProfile'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/Blogs/Main/BannerLatary/index.jsx
68:6  Warning: React Hook useEffect has a missing dependency: 'fetchBanner'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/Home/Header/index.jsx
61:6  Warning: React Hook useEffect has a missing dependency: 'startProgress'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/Home/ServicesSlider/index.jsx
47:6  Warning: React Hook useEffect has a missing dependency: 'startProgress'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/NewsCategory/Main/index.jsx
32:6  Warning: React Hook useEffect has missing dependencies: 'get' and 'type'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/NewsCategory copy/Main/index.jsx
26:6  Warning: React Hook useEffect has a missing dependency: 'get'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/SingleLearn/Sidebar/Banner.jsx
64:6  Warning: React Hook useEffect has missing dependencies: 'fetchBanner' and 'nameBanner'. Either include them or remove the dependency array. If 'setDataBanner' needs the current value of 'nameBanner', you can also switch to useReducer instead of useState and read 'nameBanner' in the reducer.  react-hooks/exhaustive-deps

./components/view/SingleServices/FormVritualNumber/ModalFactor.jsx
88:6  Warning: React Hook useEffect has a missing dependency: 'hadnelGetSingleData'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/SingleServices/FormVritualNumber/SectionMyNumbers.jsx
64:6  Warning: React Hook useEffect has a missing dependency: 'handleGetResent'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
70:6  Warning: React Hook useEffect has missing dependencies: 'handleGetResent' and 'userData'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/SingleServices/FormVritualNumber/index.jsx
40:6  Warning: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/SingleServices/HeaderAndForm/Forms/AppleId/Select.jsx
37:6  Warning: React Hook useEffect has missing dependencies: 'get' and 'setSelected'. Either include them or remove the dependency array. If 'setSelected' changes too often, find the parent component that defines it and wrap that definition in useCallback.  react-hooks/exhaustive-deps

./components/view/SingleServices/HeaderAndForm/Forms/TelegramPremium/Select.jsx
37:6  Warning: React Hook useEffect has missing dependencies: 'get' and 'setSelected'. Either include them or remove the dependency array. If 'setSelected' changes too often, find the parent component that defines it and wrap that definition in useCallback.  react-hooks/exhaustive-deps

./components/view/SingleServices/HeaderAndForm/Modals/AppleId/inputs.jsx
32:6  Warning: React Hook useEffect has a missing dependency: 'onSubmit'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/SingleServices/HeaderAndForm/Modals/TelegramPermium/inputs.jsx
32:6  Warning: React Hook useEffect has a missing dependency: 'onSubmit'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./components/view/SingleServices/SingleGiftCard/index.jsx
56:6  Warning: React Hook useEffect has missing dependencies: 'handelGet', 'query?.childslug', and 'query?.slug'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
62:6  Warning: React Hook useEffect has a missing dependency: 'handelGetProductList'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
   Creating an optimized production build ...
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
 ✓ Compiled successfully
   Collecting page data ...
Error: Invalid `paths` value returned from getStaticPaths in /trainings/[slug].
`paths` must be an array of strings or objects of shape { params: [key: string]: string }
    at buildStaticPaths (/home/ariapay/next.ariapay.me/node_modules/next/dist/build/utils.js:809:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async /home/ariapay/next.ariapay.me/node_modules/next/dist/build/utils.js:1221:110
    at async Span.traceAsyncFn (/home/ariapay/next.ariapay.me/node_modules/next/dist/trace/trace.js:154:20)

> Build error occurred
Error: Failed to collect page data for /trainings/[slug]
    at /home/ariapay/next.ariapay.me/node_modules/next/dist/build/utils.js:1269:15
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  type: 'Error'
}
