11:06:28 AM: build-image version: 0143b4617dd9b5b3faed2aefa29c54a846e69aae (focal)
11:06:28 AM: buildbot version: 24f7c9fcfdc0e642a0e84524831960fde1f386d1
11:06:28 AM: Fetching cached dependencies
11:06:28 AM: Failed to fetch cache, continuing with build
11:06:28 AM: Starting to prepare the repo for build
11:06:28 AM: No cached dependencies found. Cloning fresh repo
11:06:28 AM: git clone --filter=blob:none https://github.com/Gurushesh-Metapercept/EnableXSmoothDoc
11:06:29 AM: Preparing Git Reference refs/heads/septemberUpdate
11:06:32 AM: Starting to install dependencies
11:06:32 AM: Python version set to 3.8
11:06:32 AM: Attempting Ruby version 2.7.2, read from environment
11:06:33 AM: Using Ruby version 2.7.2
11:06:33 AM: Started restoring cached go cache
11:06:33 AM: Finished restoring cached go cache
11:06:35 AM: go version go1.19.13 linux/amd64
11:06:35 AM: Using PHP version 8.0
11:06:36 AM: Attempting Node.js version “16” from .nvmrc
11:06:36 AM: Downloading and installing node v16.20.2…
11:06:36 AM: Downloading https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz…
11:06:36 AM: Computing checksum with sha256sum
11:06:36 AM: Checksums matched!
11:06:38 AM: Now using node v16.20.2 (npm v8.19.4)
11:06:38 AM: Enabling Node.js Corepack
11:06:38 AM: Started restoring cached build plugins
11:06:38 AM: Finished restoring cached build plugins
11:06:38 AM: Started restoring cached corepack dependencies
11:06:38 AM: Finished restoring cached corepack dependencies
11:06:38 AM: npm workspaces detected
11:06:39 AM: Installing npm packages using npm version 8.19.4
11:06:44 AM: npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: Array.prototype.sort() - JavaScript | MDN
11:06:51 AM: npm WARN deprecated async-cache@1.1.0: No longer maintained. Use lru-cache version 7.6 or higher, and provide an asynchronous fetchMethod
option.
11:07:10 AM: added 2090 packages, and audited 2093 packages in 31s
11:07:10 AM: 420 packages are looking for funding
11:07:10 AM: run npm fund
for details
11:07:10 AM: 37 vulnerabilities (15 moderate, 22 high)
11:07:10 AM: To address issues that do not require attention, run:
11:07:10 AM: npm audit fix
11:07:10 AM: To address all issues (including breaking changes), run:
11:07:10 AM: npm audit fix --force
11:07:10 AM: Run npm audit
for details.
11:07:10 AM: npm packages installed
11:07:11 AM: Install dependencies script success
11:07:11 AM: Starting build script
11:07:12 AM: Detected 1 framework(s)
11:07:12 AM: “gatsby” at version “4.25.6”
11:07:12 AM: Section completed: initializing
11:07:13 AM:
11:07:13 AM: Netlify Build
11:07:13 AM: ────────────────────────────────────────────────────────────────
11:07:13 AM:
11:07:13 AM: ❯ Version
11:07:13 AM: @netlify/build 29.21.1
11:07:13 AM:
11:07:13 AM: ❯ Flags
11:07:13 AM: baseRelDir: true
11:07:13 AM: buildId: 651cf9cb7ab092087e4cbe5a
11:07:13 AM: deployId: 651cf9cb7ab092087e4cbe5c
11:07:13 AM: packagePath: website
11:07:13 AM:
11:07:13 AM: ❯ Current directory
11:07:13 AM: /opt/build/repo
11:07:13 AM:
11:07:13 AM: ❯ Config file
11:07:13 AM: No config file was defined: using default values.
11:07:13 AM:
11:07:13 AM: ❯ Context
11:07:13 AM: production
11:07:14 AM:
11:07:14 AM: ❯ Installing plugins
11:07:14 AM: - @netlify/plugin-gatsby@3.7.0
11:07:29 AM:
11:07:29 AM: ❯ Loading plugins
11:07:29 AM: - @netlify/plugin-gatsby@3.7.0 from Netlify app
11:07:30 AM:
11:07:30 AM: @netlify/plugin-gatsby (onPreBuild event)
11:07:30 AM: ────────────────────────────────────────────────────────────────
11:07:30 AM:
11:07:30 AM: No Gatsby cache found. Building fresh.
11:07:30 AM: Please install gatsby-plugin-netlify
and enable it in your gatsby-config.js. gatsby-plugin-netlify | Gatsby
11:07:30 AM:
11:07:30 AM: (@netlify/plugin-gatsby onPreBuild completed in 54ms)
11:07:30 AM:
11:07:30 AM: Build command from Netlify app
11:07:30 AM: ────────────────────────────────────────────────────────────────
11:07:30 AM:
11:07:30 AM: $ npm --workspace website run build
11:07:30 AM: > website@1.0.0 build
11:07:30 AM: > gatsby build
11:07:32 AM: success compile gatsby files - 0.877s
11:07:32 AM: success load gatsby config - 0.085s
11:07:33 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:33 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:33 AM: success load plugins - 0.617s
11:07:33 AM: warning gatsby-plugin-react-helmet: Gatsby now has built-in support for modifying the document head. Learn more at Gatsby Head API | Gatsby
11:07:33 AM: success onPreInit - 0.008s
11:07:33 AM: success initialize cache - 0.138s
11:07:33 AM: success copy gatsby files - 0.128s
11:07:33 AM: success Compiling Gatsby Functions - 0.161s
11:07:33 AM: info creating the images directory
11:07:33 AM: success onPreBootstrap - 0.172s
11:07:34 AM: success createSchemaCustomization - 0.004s
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:44 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:44 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:45 AM: success Checking for changed pages - 0.000s
11:07:45 AM: success source and transform nodes - 10.806s
11:07:45 AM: info Writing GraphQL type definitions to /opt/build/repo/website/.cache/schema.gql
11:07:45 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:45 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:45 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:45 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:45 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:45 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:46 AM: success building schema - 0.896s
11:07:46 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:46 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:47 AM: warning Warning: there are unknown plugin options for “gatsby-plugin-mdx”, configured by …/smooth-doc: remarkPlugins
11:07:47 AM: Please open an issue at GitHub - gatsbyjs/gatsby: The best React-based framework with performance, scalability and security built in. if you believe this option is valid.
11:07:48 AM: success createPages - 2.075s
11:07:48 AM: success createPagesStatefully - 0.039s
11:07:48 AM: info Total nodes: 2393, SitePage nodes: 481 (use --verbose for breakdown)
11:07:48 AM: success Checking for changed pages - 0.000s
11:07:48 AM: success onPreExtractQueries - 0.000s
11:07:50 AM: success extract queries from components - 2.296s
11:07:50 AM: success write out redirect data - 0.001s
11:07:50 AM: success Build manifest and related icons - 0.039s
11:07:50 AM: success onPostBootstrap - 0.040s
11:07:50 AM: info bootstrap finished - 19.954s
11:07:50 AM: success write out requires - 0.011s
11:07:50 AM: warning Browserslist: caniuse-lite is outdated. Please run:
11:07:50 AM: npx update-browserslist-db@latest
11:07:50 AM: Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
11:07:50 AM: warning isModuleDeclaration
has been deprecated, please migrate to isImportOrExportDeclaration
11:07:50 AM: at isModuleDeclaration (/opt/build/repo/node_modules/@babel/types/lib/validators/generated/index.js:3940:35)
11:07:50 AM: at PluginPass.Program (/opt/build/repo/node_modules/babel-plugin-lodash/lib/index.js:102:44)
11:09:54 AM: Browserslist: caniuse-lite is outdated. Please run:
11:09:54 AM: npx update-browserslist-db@latest
11:09:54 AM: Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
11:10:00 AM: success Building production JavaScript and CSS bundles - 130.171s
11:11:13 AM: <— Last few GCs —>
11:11:13 AM: [4630:0x60adc50] 221333 ms: Mark-sweep 2015.0 (2092.5) → 2002.8 (2095.8) MB, 775.1 / 0.1 ms (average mu = 0.324, current mu = 0.016) allocation failure scavenge might not succeed
11:11:13 AM: [4630:0x60adc50] 222646 ms: Mark-sweep 2018.7 (2095.8) → 2006.4 (2098.3) MB, 1294.9 / 0.1 ms (average mu = 0.153, current mu = 0.014) allocation failure scavenge might not succeed
11:11:13 AM: <— JS stacktrace —>
11:11:13 AM: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
11:11:13 AM: 1: 0xb090e0 node::Abort() [node]
11:11:13 AM: 2: 0xa1b70e [node]
11:11:13 AM: 3: 0xce1a20 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
11:11:13 AM: 4: 0xce1dc7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
11:11:13 AM: 5: 0xe99435 [node]
11:11:13 AM: 6: 0xea90fd v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
11:11:13 AM: 7: 0xeabdfe v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
11:11:13 AM: 8: 0xe6d072 v8::internal::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [node]
11:11:13 AM: 9: 0xe6798c v8::internal::FactoryBasev8::internal::Factory::AllocateRawArray(int, v8::internal::AllocationType) [node]
11:11:13 AM: 10: 0xe67a65 v8::internal::FactoryBasev8::internal::Factory::NewFixedArrayWithFiller(v8::internal::Handlev8::internal::Map, int, v8::internal::Handlev8::internal::Oddball, v8::internal::AllocationType) [node]
11:11:13 AM: 11: 0x10d042e v8::internal::MaybeHandlev8::internal::OrderedHashMap v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocatev8::internal::Isolate(v8::internal::Isolate*, int, v8::internal::AllocationType) [node]
11:11:13 AM: 12: 0x10d04e3 v8::internal::MaybeHandlev8::internal::OrderedHashMap v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehashv8::internal::Isolate(v8::internal::Isolate*, v8::internal::Handlev8::internal::OrderedHashMap, int) [node]
11:11:13 AM: 13: 0x11dc615 v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [node]
11:11:13 AM: 14: 0x15d9e59 [node]
11:11:15 AM: Aborted (core dumped)
11:11:15 AM: npm ERR! Lifecycle script build
failed with error:
11:11:15 AM: npm ERR! Error: command failed
11:11:15 AM: npm ERR! in workspace: website@1.0.0
11:11:15 AM: npm ERR! at location: /opt/build/repo/website
11:11:15 AM:
11:11:15 AM: “build.command” failed
11:11:15 AM: ────────────────────────────────────────────────────────────────
11:11:15 AM:
11:11:15 AM: Error message
11:11:15 AM: Command failed with exit code 1: npm --workspace website run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
11:11:15 AM:
11:11:15 AM: Error location
11:11:15 AM: In Build command from Netlify app:
11:11:15 AM: npm --workspace website run build
11:11:15 AM:
11:11:15 AM: Resolved config
11:11:15 AM: build:
11:11:15 AM: command: npm --workspace website run build
11:11:15 AM: commandOrigin: ui
11:11:15 AM: environment:
11:11:15 AM: - NPM_FLAGS
11:11:15 AM: publish: /opt/build/repo/website/public
11:11:15 AM: publishOrigin: ui
11:11:15 AM: plugins:
11:11:15 AM: - inputs: {}
11:11:15 AM: origin: ui
11:11:15 AM: package: “@netlify/plugin-gatsby”
11:11:16 AM: Caching artifacts
11:11:16 AM: Started saving workspace smooth-doc node modules
11:11:16 AM: Finished saving workspace smooth-doc node modules
11:11:16 AM: Started saving workspace root node modules
11:11:16 AM: Finished saving workspace root node modules
11:11:16 AM: Started saving build plugins
11:11:16 AM: Finished saving build plugins
11:11:16 AM: Started saving corepack cache
11:11:16 AM: Finished saving corepack cache
11:11:16 AM: Started saving pip cache
11:11:16 AM: Finished saving pip cache
11:11:16 AM: Started saving emacs cask dependencies
11:11:16 AM: Finished saving emacs cask dependencies
11:11:16 AM: Started saving maven dependencies
11:11:16 AM: Finished saving maven dependencies
11:11:16 AM: Started saving boot dependencies
11:11:16 AM: Finished saving boot dependencies
11:11:16 AM: Started saving rust rustup cache
11:11:16 AM: Finished saving rust rustup cache
11:11:16 AM: Started saving go dependencies
11:11:16 AM: Finished saving go dependencies
11:11:18 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:11:18 AM: Failing build: Failed to build site
11:11:19 AM: Finished processing build request in 4m51.114s
11:11:18 AM: Failed during stage “building site”: Build script returned non-zero exit code: 2
@Guru It looks like you build is running out of memory.
A related support guide is: