10:09:24 PM: build-image version: 596993885fcc8df0dd6d507c57c5c9cb7c3a8576 (focal)
10:09:24 PM: buildbot version: 163fe70070e26a02d64141bf435d02320d25b8c1
10:09:24 PM: Fetching cached dependencies
10:09:24 PM: Failed to fetch cache, continuing with build
10:09:24 PM: Starting to prepare the repo for build
10:09:24 PM: No cached dependencies found. Cloning fresh repo
10:09:24 PM: git clone --filter=blob:none https://github.com/mertkesimliileri/ileri-sanity-website
10:09:24 PM: Preparing Git Reference refs/heads/main
10:09:25 PM: Parsing package.json dependencies
10:09:26 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'out' versus '.next' in the Netlify UI
10:09:26 PM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'functions' versus 'functions/' in the Netlify UI
10:09:26 PM: Starting to install dependencies
10:09:26 PM: Python version set to 3.8
10:09:26 PM: Attempting Ruby version 2.7.2, read from environment
10:09:27 PM: Using Ruby version 2.7.2
10:09:27 PM: Started restoring cached go cache
10:09:27 PM: Finished restoring cached go cache
10:09:27 PM: Installing Go version 1.19.5 (requested 1.19.5)
10:09:32 PM: go version go1.19.5 linux/amd64
10:09:32 PM: Using PHP version 8.0
10:09:33 PM: v16.20.0 is already installed.
10:09:34 PM: Now using node v16.20.0 (npm v8.19.4)
10:09:34 PM: Enabling Node.js Corepack
10:09:34 PM: Started restoring cached build plugins
10:09:34 PM: Finished restoring cached build plugins
10:09:34 PM: Started restoring cached corepack dependencies
10:09:34 PM: Finished restoring cached corepack dependencies
10:09:34 PM: Started restoring cached yarn cache
10:09:34 PM: Finished restoring cached yarn cache
10:09:34 PM: No yarn workspaces detected
10:09:34 PM: Started restoring cached node modules
10:09:34 PM: Finished restoring cached node modules
10:09:34 PM: Installing npm packages using Yarn version 1.22.19
10:09:34 PM: yarn install v1.22.19
10:09:35 PM: warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
10:09:35 PM: [1/4] Resolving packages...
10:09:35 PM: [2/4] Fetching packages...
10:10:03 PM: [3/4] Linking dependencies...
10:10:03 PM: warning "netlify-cli > @netlify/build > ts-node@10.8.1" has unmet peer dependency "@types/node@*".
10:10:03 PM: warning "eslint-config-next > @typescript-eslint/parser > @typescript-eslint/typescript-estree > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
10:10:04 PM: warning Workspaces can only be enabled in private projects.
10:10:37 PM: [4/4] Building fresh packages...
10:10:46 PM: Done in 71.40s.
10:10:46 PM: npm packages installed using Yarn
10:10:46 PM: Install dependencies script success
10:10:46 PM: Starting build script
10:10:47 PM: Detected 1 framework(s)
10:10:47 PM: "next" at version "12.2.4"
10:10:47 PM: Section completed: initializing
10:10:48 PM: β
10:10:48 PM: Netlify Build
10:10:48 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:10:48 PM: β
10:10:48 PM: β― Version
10:10:48 PM: @netlify/build 29.9.0
10:10:48 PM: β
10:10:48 PM: β― Flags
10:10:48 PM: baseRelDir: true
10:10:48 PM: buildId: 64306a3e2a64ab18901bf88d
10:10:48 PM: deployId: 64306a3e2a64ab18901bf88f
10:10:48 PM: β
10:10:48 PM: β― Current directory
10:10:48 PM: /opt/build/repo
10:10:48 PM: β
10:10:48 PM: β― Config file
10:10:48 PM: /opt/build/repo/netlify.toml
10:10:48 PM: β
10:10:48 PM: β― Context
10:10:48 PM: production
10:10:48 PM: β
10:10:48 PM: β― Using Next.js Runtime - v4.33.0
10:10:48 PM: β
10:10:48 PM: β― Loading plugins
10:10:48 PM: - netlify-plugin-cypress@2.2.1 from netlify.toml and package.json
10:10:50 PM: β
10:10:50 PM: 1. @netlify/plugin-nextjs (onPreBuild event)
10:10:50 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:10:50 PM: β
10:10:50 PM: No Next.js cache to restore.
10:10:50 PM: Not running Next Runtime
10:10:50 PM: β
10:10:50 PM: (@netlify/plugin-nextjs onPreBuild completed in 7ms)
10:10:50 PM: β
10:10:50 PM: 2. netlify-plugin-cypress (onPreBuild event)
10:10:50 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:10:50 PM: β
10:10:57 PM: [STARTED] Task without title.
10:10:59 PM: [TITLE] Verified Cypress! /opt/build/repo/node_modules/.cache/CypressBinary/10.11.0/Cypress
10:10:59 PM: [SUCCESS] Verified Cypress! /opt/build/repo/node_modules/.cache/CypressBinary/10.11.0/Cypress
10:11:00 PM: [4108:0407/191100.367061:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
10:11:00 PM: Displaying Cypress info...
10:11:00 PM: Detected no known browsers installed
10:11:00 PM: Proxy Settings: none detected
10:11:00 PM: Environment Variables:
10:11:00 PM: CYPRESS_CACHE_FOLDER: ./node_modules/.cache/CypressBinary
10:11:00 PM: Application Data: /opt/buildhome/.config/cypress/cy/development
10:11:00 PM: Browser Profiles: /opt/buildhome/.config/cypress/cy/development/browsers
10:11:00 PM: Binary Caches: /opt/build/repo/node_modules/.cache/CypressBinary
10:11:00 PM: Cypress Version: 10.11.0 (stable)
10:11:00 PM: System Platform: linux (Ubuntu - 20.04)
10:11:00 PM: System Memory: 66.4 GB free 60.8 GB
10:11:00 PM: β
10:11:00 PM: (netlify-plugin-cypress onPreBuild completed in 10.3s)
10:11:00 PM: β
10:11:00 PM: 3. Build command from Netlify app
10:11:00 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:11:00 PM: β
10:11:00 PM: $ CI= npm run build
10:11:00 PM: > build
10:11:00 PM: > next build
10:11:01 PM: warn - Invalid next.config.js options detected:
10:11:01 PM: - The root value has an unexpected property, target, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, future, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, redirects, rewrites, sassOptions, serverRuntimeConfig, staticPageGenerationTimeout, swcMinify, trailingSlash, typescript, useFileSystemPublicRoutes, webpack).
10:11:01 PM: See more info here: https://nextjs.org/docs/messages/invalid-next-config
10:11:01 PM: warn - The `target` config is deprecated and will be removed in a future version.
10:11:01 PM: See more info here https://nextjs.org/docs/messages/deprecated-target-config
10:11:01 PM: warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
10:11:01 PM: info - Linting and checking validity of types...
10:11:03 PM: ./pages/about.js
10:11:03 PM: 34:8 Warning: React Hook useEffect has a missing dependency: 'props.locale'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
10:11:03 PM: ./pages/career.js
10:11:03 PM: 35:8 Warning: React Hook useEffect has a missing dependency: 'props.locale'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
10:11:03 PM: ./pages/footer.js
10:11:03 PM: 45:5 Warning: React Hook useEffect contains a call to 'setWindowWidth'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [] as a second argument to the useEffect Hook. react-hooks/exhaustive-deps
10:11:03 PM: 58:5 Warning: React Hook useEffect contains a call to 'setIsVisible'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [windowWidth] as a second argument to the useEffect Hook. react-hooks/exhaustive-deps
10:11:03 PM: 71:25 Warning: Do not use `<img>` element. Use `<Image />` from `next/image` instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
10:11:03 PM: ./pages/navbar.js
10:11:03 PM: 48:5 Warning: React Hook useEffect contains a call to 'setWindowWidth'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [] as a second argument to the useEffect Hook. react-hooks/exhaustive-deps
10:11:03 PM: 61:5 Warning: React Hook useEffect contains a call to 'setIsVisible'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [windowWidth] as a second argument to the useEffect Hook. react-hooks/exhaustive-deps
10:11:03 PM: 80:13 Warning: Synchronous scripts should not be used. See: https://nextjs.org/docs/messages/no-sync-scripts @next/next/no-sync-scripts
10:11:03 PM: 83:21 Warning: Do not use an `<a>` element to navigate to `/`. Use `<Link />` from `next/link` instead. See: https://nextjs.org/docs/messages/no-html-link-for-pages @next/next/no-html-link-for-pages
10:11:03 PM: 84:25 Warning: Do not use `<img>` element. Use `<Image />` from `next/image` instead. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
10:11:03 PM: ./pages/projects.js
10:11:03 PM: 35:8 Warning: React Hook useEffect has a missing dependency: 'props.locale'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
10:11:03 PM: info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
10:11:03 PM: info - Creating an optimized production build...
10:11:11 PM: warn - Compiled with warnings
10:11:11 PM: ./node_modules/next-i18next/dist/commonjs/serverSideTranslations.js
10:11:11 PM: Critical dependency: the request of a dependency is an expression
10:11:11 PM: Import trace for requested module:
10:11:11 PM: ./node_modules/next-i18next/serverSideTranslations.js
10:11:11 PM: ./pages/career.js
10:11:11 PM: ./node_modules/next/dist/build/webpack/loaders/next-serverless-loader/index.js?absolute404Path=&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Fcareer.js&assetPrefix=&basePath=&buildId=kkBLRYcBMj8KPA6CLyWQU&canonicalBase=&distDir=private-dot-next&generateEtags=true&i18n=%7B%22locales%22%3A%5B%22tr%22%2C%22en%22%5D%2C%22defaultLocale%22%3A%22tr%22%7D&loadedEnvFiles=W10%3D&page=%2Fcareer&poweredByHeader=true&previewProps=%7B%22previewModeId%22%3A%228d54a9f60cebd85430abcb38a5eb11fc%22%2C%22previewModeSigningKey%22%3A%22115f2a3d9adc924f965f00c85dfcc6a2d81a1cd0990665c81059751e6a6d13c5%22%2C%22previewModeEncryptionKey%22%3A%224edfd89ffc73e5865c8673856259455693e5dbf5352329b7ccec2b3963c2fe8e%22%7D&runtimeConfig=!
10:11:11 PM: ./node_modules/i18next-fs-backend/cjs/readFile.js
10:11:11 PM: Critical dependency: the request of a dependency is an expression
10:11:11 PM: Import trace for requested module:
10:11:11 PM: ./node_modules/i18next-fs-backend/cjs/index.js
10:11:11 PM: ./node_modules/next-i18next/dist/commonjs/createClient/node.js
10:11:11 PM: ./node_modules/next-i18next/dist/commonjs/serverSideTranslations.js
10:11:11 PM: ./node_modules/next-i18next/serverSideTranslations.js
10:11:11 PM: ./pages/career.js
10:11:11 PM: ./node_modules/next/dist/build/webpack/loaders/next-serverless-loader/index.js?absolute404Path=&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Fcareer.js&assetPrefix=&basePath=&buildId=kkBLRYcBMj8KPA6CLyWQU&canonicalBase=&distDir=private-dot-next&generateEtags=true&i18n=%7B%22locales%22%3A%5B%22tr%22%2C%22en%22%5D%2C%22defaultLocale%22%3A%22tr%22%7D&loadedEnvFiles=W10%3D&page=%2Fcareer&poweredByHeader=true&previewProps=%7B%22previewModeId%22%3A%228d54a9f60cebd85430abcb38a5eb11fc%22%2C%22previewModeSigningKey%22%3A%22115f2a3d9adc924f965f00c85dfcc6a2d81a1cd0990665c81059751e6a6d13c5%22%2C%22previewModeEncryptionKey%22%3A%224edfd89ffc73e5865c8673856259455693e5dbf5352329b7ccec2b3963c2fe8e%22%7D&runtimeConfig=!
10:11:11 PM: ./node_modules/i18next-fs-backend/cjs/readFile.js
10:11:11 PM: Critical dependency: the request of a dependency is an expression
10:11:11 PM: Import trace for requested module:
10:11:11 PM: ./node_modules/i18next-fs-backend/cjs/index.js
10:11:11 PM: ./node_modules/next-i18next/dist/commonjs/createClient/node.js
10:11:11 PM: ./node_modules/next-i18next/dist/commonjs/serverSideTranslations.js
10:11:11 PM: ./node_modules/next-i18next/serverSideTranslations.js
10:11:11 PM: ./pages/career.js
10:11:11 PM: ./node_modules/next/dist/build/webpack/loaders/next-serverless-loader/index.js?absolute404Path=&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Fcareer.js&assetPrefix=&basePath=&buildId=kkBLRYcBMj8KPA6CLyWQU&canonicalBase=&distDir=private-dot-next&generateEtags=true&i18n=%7B%22locales%22%3A%5B%22tr%22%2C%22en%22%5D%2C%22defaultLocale%22%3A%22tr%22%7D&loadedEnvFiles=W10%3D&page=%2Fcareer&poweredByHeader=true&previewProps=%7B%22previewModeId%22%3A%228d54a9f60cebd85430abcb38a5eb11fc%22%2C%22previewModeSigningKey%22%3A%22115f2a3d9adc924f965f00c85dfcc6a2d81a1cd0990665c81059751e6a6d13c5%22%2C%22previewModeEncryptionKey%22%3A%224edfd89ffc73e5865c8673856259455693e5dbf5352329b7ccec2b3963c2fe8e%22%7D&runtimeConfig=!
10:11:11 PM: info - Collecting page data...
10:11:12 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:12 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:12 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:12 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:12 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:12 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:14 PM: info - Generating static pages (0/20)
10:11:15 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:15 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:15 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:15 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/pages/footer.js:11:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: Error occurred prerendering page "/en/footer". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/pages/footer.js:11:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:15 PM: Error occurred prerendering page "/en". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: Error occurred prerendering page "/en/about". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: Error occurred prerendering page "/tr/career". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: info - Generating static pages (5/20)
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: Error occurred prerendering page "/tr/about". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:15 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: Error occurred prerendering page "/en/projects". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/pages/footer.js:11:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: Error occurred prerendering page "/tr/footer". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/pages/footer.js:11:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: info - Generating static pages (10/20)
10:11:15 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:15 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:15 PM: Error occurred prerendering page "/tr/projects". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:15 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:15 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:15 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:15 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:15 PM: code: 'MODULE_NOT_FOUND'
10:11:15 PM: }
10:11:16 PM: Error occurred prerendering page "/tr". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:16 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:16 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:16 PM: code: 'MODULE_NOT_FOUND'
10:11:16 PM: }
10:11:16 PM: Error occurred prerendering page "/tr/navbar". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:16 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:16 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:16 PM: code: 'MODULE_NOT_FOUND'
10:11:16 PM: }
10:11:16 PM: Error occurred prerendering page "/en/contact". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:16 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:16 PM: info - Generating static pages (15/20)
10:11:16 PM: The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
10:11:16 PM: Using the Sanity client without specifying an API version is deprecated. See https://www.sanity.io/help/js-client-api-version
10:11:16 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:16 PM: code: 'MODULE_NOT_FOUND'
10:11:16 PM: }
10:11:16 PM: Error occurred prerendering page "/en/navbar". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:16 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:16 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:16 PM: code: 'MODULE_NOT_FOUND'
10:11:16 PM: }
10:11:16 PM: Error occurred prerendering page "/en/career". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:16 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:16 PM: Unhandled error during request: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72 {
10:11:16 PM: code: 'MODULE_NOT_FOUND'
10:11:16 PM: }
10:11:16 PM: Error occurred prerendering page "/tr/contact". Read more: https://nextjs.org/docs/messages/prerender-error
10:11:16 PM: Error: Cannot find module '/opt/build/repo/next-i18next.config.js'
10:11:16 PM: at webpackEmptyContext (/opt/build/repo/.next/serverless/chunks/141.js:9:10)
10:11:16 PM: at /opt/build/repo/.next/serverless/chunks/199.js:187:72
10:11:16 PM: info - Generating static pages (20/20)
10:11:16 PM: > Build error occurred
10:11:16 PM: Error: Export encountered errors on following paths:
10:11:16 PM: /: /en
10:11:16 PM: /: /tr
10:11:16 PM: /about: /en/about
10:11:16 PM: /about: /tr/about
10:11:16 PM: /career: /en/career
10:11:16 PM: /career: /tr/career
10:11:16 PM: /contact: /en/contact
10:11:16 PM: /contact: /tr/contact
10:11:16 PM: /footer: /en/footer
10:11:16 PM: /footer: /tr/footer
10:11:16 PM: /navbar: /en/navbar
10:11:16 PM: /navbar: /tr/navbar
10:11:16 PM: /projects: /en/projects
10:11:16 PM: /projects: /tr/projects
10:11:16 PM: at /opt/build/repo/node_modules/next/dist/export/index.js:395:19
10:11:16 PM: at runMicrotasks (<anonymous>)
10:11:16 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
10:11:16 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
10:11:16 PM: at async /opt/build/repo/node_modules/next/dist/build/index.js:1094:21
10:11:16 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
10:11:16 PM: at async /opt/build/repo/node_modules/next/dist/build/index.js:971:17
10:11:16 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
10:11:16 PM: at async Object.build [as default] (/opt/build/repo/node_modules/next/dist/build/index.js:64:29)
10:11:16 PM: β
10:11:16 PM: "build.command" failed
10:11:16 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10:11:16 PM: β
10:11:16 PM: Error message
10:11:16 PM: Command failed with exit code 1: CI= npm run build (https://ntl.fyi/exit-code-1)
10:11:16 PM: β
10:11:16 PM: Error location
10:11:16 PM: In Build command from Netlify app:
10:11:16 PM: CI= npm run build
10:11:16 PM: β
10:11:16 PM: Resolved config
10:11:16 PM: build:
10:11:16 PM: command: CI= npm run build
10:11:16 PM: commandOrigin: ui
10:11:16 PM: environment:
10:11:16 PM: - CI
10:11:16 PM: - NETLIFY_NEXT_PLUGIN_SKIP
10:11:16 PM: publish: /opt/build/repo/out
10:11:16 PM: publishOrigin: config
10:11:16 PM: functions:
10:11:16 PM: '*':
10:11:16 PM: node_bundler: esbuild
10:11:16 PM: functionsDirectory: /opt/build/repo/functions
10:11:16 PM: plugins:
10:11:16 PM: - inputs: {}
10:11:16 PM: origin: ui
10:11:16 PM: package: '@netlify/plugin-nextjs'
10:11:16 PM: - inputs: {}
10:11:16 PM: origin: config
10:11:16 PM: package: netlify-plugin-cypress
10:11:16 PM: Caching artifacts
10:11:16 PM: Started saving node modules
10:11:23 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
10:11:16 PM: Finished saving node modules
10:11:16 PM: Started saving build plugins
10:11:16 PM: Finished saving build plugins
10:11:16 PM: Started saving corepack cache
10:11:16 PM: Finished saving corepack cache
10:11:16 PM: Started saving yarn cache
10:11:22 PM: Finished saving yarn cache
10:11:22 PM: Started saving pip cache
10:11:22 PM: Finished saving pip cache
10:11:22 PM: Started saving emacs cask dependencies
10:11:22 PM: Finished saving emacs cask dependencies
10:11:22 PM: Started saving maven dependencies
10:11:22 PM: Finished saving maven dependencies
10:11:22 PM: Started saving boot dependencies
10:11:22 PM: Finished saving boot dependencies
10:11:22 PM: Started saving rust rustup cache
10:11:22 PM: Finished saving rust rustup cache
10:11:22 PM: Started saving go dependencies
10:11:22 PM: Finished saving go dependencies
10:11:23 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:11:23 PM: Failing build: Failed to build site
10:11:24 PM: Finished processing build request in 1m59.774s
I apllied CI= npm run build solution and adding CI=false to enviroment variables, still I get this error.
git repo: GitHub - mertkesimliileri/ileri-sanity-website
Thanks