netlify / netlify-cms-widget-starter

A boilerplate for creating Netlify CMS widgets.

Home Page:https://www.netlifycms.org/docs/custom-widgets/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Javascript Heap out of memory

hennessyevan opened this issue Β· comments

I thought maybe my local node version was causing issues so I bumped the node memory allocation way up locally but it doesn't build on Netlify citing the same errors. It's possible I did something strange here but it doesn't look apparent to me and in fact a clean clone of this repo is also giving me similar issues. The repo is at https://github.com/hennessyevan/netlify-cms-widget-youtube

Here's the log from Netlify.

12:13:37 PM: Build ready to start
12:13:38 PM: Fetching cached dependencies
12:13:39 PM: Failed to fetch cache, continuing with build
12:13:39 PM: Starting to prepare the repo for build
12:13:39 PM: No cached dependencies found. Cloning fresh repo
12:13:39 PM: git clone git@github.com:hennessyevan/netlify-cms-widget-youtube
12:13:40 PM: Preparing Git Reference refs/heads/master
12:13:40 PM: Found netlify.toml. Overriding site configuration
12:13:40 PM: Different build command detected, going to use the one specified in the toml file: 'yarn demo' versus 'yarn start' in the site
12:13:40 PM: Starting build script
12:13:40 PM: Installing dependencies
12:13:42 PM: Downloading and installing node v8.11.1...
12:13:43 PM: Downloading https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz...
12:13:43 PM: 
##
12:13:43 PM:                                             2.9%
12:13:43 PM: 
#########
12:13:43 PM:                                     13.9%
12:13:43 PM: #
12:13:43 PM: #####################                                                    31.2%
12:13:43 PM: 
####################
12:13:43 PM: #####################                                 57.2%
12:13:43 PM: 
#########################
12:13:43 PM: ############################################### 100.0%
12:13:43 PM: Computing checksum with sha256sum
12:13:43 PM: Checksums matched!
12:13:46 PM: Now using node v8.11.1 (npm v5.6.0)
12:13:46 PM: Attempting ruby version 2.3.6, read from environment
12:13:48 PM: Using ruby version 2.3.6
12:13:48 PM: Using PHP version 5.6
12:13:48 PM: Started restoring cached node modules
12:13:48 PM: Finished restoring cached node modules
12:13:48 PM: Started restoring cached yarn cache
12:13:48 PM: Finished restoring cached yarn cache
12:13:48 PM: Installing yarn at version 1.3.2
12:13:48 PM: Installing Yarn!
12:13:48 PM: > Downloading tarball...
12:13:48 PM: [1/2]: https://yarnpkg.com/downloads/1.3.2/yarn-v1.3.2.tar.gz --> /tmp/yarn.tar.gz.w7v4kTaZ5T
12:13:48 PM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
12:13:48 PM:                                  Dload  Upload   Total   Spent    Left  Speed
12:13:48 PM: 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    91  100    91    0     0   1405      0 --:--:-- --:--:-- --:--:--  1421
12:13:48 PM: 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
12:13:48 PM: 
  0     0    0   608    0     0
12:13:48 PM:  2329      0 --:--:-- --:--:-- --:--:--  4750
12:13:49 PM: 
100  865k  100  865k    0     0   910k      0 --:--:-- --:--:--
12:13:49 PM: --:--:--  910k
12:13:49 PM: [2/2]: https://yarnpkg.com/downloads/1.3.2/yarn-v1.3.2.tar.gz.asc --> /tmp/yarn.tar.gz.w7v4kTaZ5T.asc
12:13:49 PM: 
100    95  100    95    0     0   5762      0 --:--:-- --:--:-- --:--:--  5762
12:13:49 PM: 
  0     0    0     0    0     0      0      0
12:13:49 PM: --:--:-- --:--:-- --:--:--     0
  0     0    0   612    0     0   3943      0 --:--:-- --:--:-- --:--:--  597k
12:13:49 PM: 
100  1027  100  1027    0     0   5301
12:13:49 PM:  0 --:--:-- --:--:-- --:--:--  5301
12:13:49 PM: > Verifying integrity...
12:13:49 PM: gpg: Signature made Thu 02 Nov 2017 04:44:10 PM UTC using RSA key ID FD2497F5
12:13:49 PM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
12:13:49 PM: gpg: WARNING: This key is not certified with a trusted signature!
12:13:49 PM: gpg:          There is no indication that the signature belongs to the owner.
12:13:49 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
12:13:49 PM:      Subkey fingerprint: 6A01 0C51 6600 6599 AA17  F081 46C2 130D FD24 97F5
12:13:49 PM: > GPG signature looks good
12:13:49 PM: > Extracting to ~/.yarn...
12:13:49 PM: > Adding to $PATH...
12:13:49 PM: > We've added the following to your /opt/buildhome/.profile
12:13:49 PM: > If this isn't the profile of your current shell then please add the following to your correct profile:
12:13:49 PM: export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
12:13:49 PM: 
12:13:50 PM: > Successfully installed Yarn 1.3.2! Please open another terminal where the `yarn` command will now be available.
12:13:50 PM: Installing NPM modules using Yarn version 1.3.2
12:13:51 PM: yarn install v1.3.2
12:13:51 PM: [1/4] Resolving packages...
12:13:53 PM: [2/4] Fetching packages...
12:14:16 PM: info fsevents@1.2.3: The platform "linux" is incompatible with this module.
12:14:16 PM: info "fsevents@1.2.3" is an optional dependency and failed compatibility check. Excluding it from installation.
12:14:16 PM: [3/4] Linking dependencies...
12:14:16 PM: warning " > babel-loader@7.1.4" has unmet peer dependency "babel-core@6".
12:14:16 PM: warning "netlify-cms > slate-edit-table@0.12.0" has incorrect peer dependency "slate@^0.27.2".
12:14:16 PM: warning "netlify-cms > slate-plain-serializer@0.4.16" has incorrect peer dependency "slate@^0.31.8".
12:14:16 PM: warning "netlify-cms > slate-react > slate-base64-serializer@0.2.30" has incorrect peer dependency "slate@>=0.32.0".
12:14:16 PM: warning "netlify-cms > slate-react > slate-prop-types@0.4.28" has incorrect peer dependency "slate@>=0.32.0".
12:14:25 PM: [4/4] Building fresh packages...
12:14:26 PM: success Saved lockfile.
12:14:26 PM: Done in 34.79s.
12:14:26 PM: NPM modules installed using Yarn
12:14:26 PM: Started restoring cached go cache
12:14:26 PM: Finished restoring cached go cache
12:14:27 PM: unset GOOS;
12:14:27 PM: unset GOARCH;
12:14:27 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.10.linux.amd64';
12:14:27 PM: export PATH="/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}";
12:14:27 PM: go version >&2;
12:14:27 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.10.linux.amd64.env';
12:14:27 PM: go version go1.10 linux/amd64
12:14:27 PM: Installing missing commands
12:14:27 PM: Verify run directory
12:14:27 PM: Executing user command: yarn demo
12:14:27 PM: yarn run v1.3.2
12:14:27 PM: $ webpack --display errors-only --devtool source-map
12:15:19 PM: [BABEL] Note: The code generator has deoptimised the styling of "/opt/build/repo/node_modules/netlify-cms/dist/cms.js" as it exceeds the max of "500KB".
12:29:47 PM: <--- Last few GCs --->
12:29:47 PM: [1397:0x2a1c6f0]   914175 ms: Mark-sweep 1468.9 (1591.4) -> 1406.8 (1555.8) MB, 2237.2 / 0.0 ms  allocation failure GC in old space requested
12:29:47 PM: [1397:0x2a1c6f0]   917214 ms: Mark-sweep 1406.8 (1555.8) -> 1406.7 (1495.8) MB, 3038.7 / 0.0 ms  last resort GC in old space requested
12:29:47 PM: [1397:0x2a1c6f0]   920003 ms: Mark-sweep 1406.7 (1495.8) -> 1406.7 (1490.3) MB, 2787.8 / 0.0 ms  last resort GC in old space requested
12:29:47 PM: <--- JS stacktrace --->
12:29:47 PM: ==== JS stack trace =========================================
12:29:47 PM: Security context: 0xdc8170257c1 <JSObject>
12:29:47 PM:     1: charAt(this=0x2b25e379031 <Very long string[3397793]>,0)
12:29:47 PM:     2: SourceMapConsumer_parseMappings [/opt/build/repo/node_modules/babel-core/node_modules/source-map/lib/source-map-consumer.js:439] [bytecode=0x38044b282e29 offset=60](this=0x2c77be685f29 <BasicSourceMapConsumer map = 0x14f6bc911459>,aStr=0x2b25e379031 <Very long string[3397793]>,aSourceRoot=0x351c37c82201 <null>)
12:29:47 PM:     3: get [/op...
12:29:47 PM: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
12:29:47 PM:  1: node::Abort() [node]
12:29:47 PM:  2: 0x11e7fec [node]
12:29:47 PM:  3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
12:29:47 PM:  4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
12:29:47 PM:  5: v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag) [node]
12:29:47 PM:  6: v8::internal::String::SlowFlatten(v8::internal::Handle<v8::internal::ConsString>, v8::internal::PretenureFlag) [node]
12:29:47 PM:  7: v8::internal::Runtime_StringCharCodeAtRT(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12:29:47 PM:  8: 0x2faefc8042fd
12:29:53 PM: Aborted (core dumped)
12:29:53 PM: error Command failed with exit code 134.
12:29:53 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
12:29:53 PM: Execution timed out after 15m0s
12:29:53 PM: Error running command: Command did not finish within the time limit
12:29:53 PM: Failing build: Failed to build site
12:29:53 PM: failed during stage 'building site': Command did not finish within the time limit
12:29:53 PM: Finished processing build request in 16m15.23139548s

Nice widget here, loving the goals!

I'd bet this is happneing because you're loading the CMS in the widget source - don't do that. Just export your control and preview components, it's the user's responsibility to register the widget.

@erquhart you're right, that fixed it. I must be losing it, I don't remember why I even added that.

SOLVED

Btw, I encountered this again and had to add an exclusion in the webpack config. Just leaving this here in case it helps someone else.

{
	test: /\.jsx?$/,
	exclude: /node_modules/,
	loader: "babel-loader"
}```

Great point, thanks

I was having a similar problem. I will post my details in case it helps anyone. Initially, I was running Node version 8, which didn't throw a memory allocation error. When I switched to Node version 10 and ran npm start, I saw:

<--- Last few GCs --->

[3380:0x103800c00]    44677 ms: Mark-sweep 1351.7 (1441.0) -> 1336.9 (1440.5) MB, 1664.1 / 0.0 ms  (average mu = 0.090, current mu = 0.007) allocation failure scavenge might not succeed
[3380:0x103800c00]    46318 ms: Mark-sweep 1354.4 (1442.0) -> 1339.6 (1442.0) MB, 1630.7 / 0.0 ms  (average mu = 0.050, current mu = 0.007) allocation failure scavenge might not succeed


<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x3f5b8475c01d]
Security context: 0x116194e1e681 <JSObject>
    1: SourceMapConsumer_allGeneratedPositionsFor [0x116108d63609] [/Users/myusername/Projects/netlify-cms-widget-starter/node_modules/source-map/lib/source-map-consumer.js:~178] [pc=0x3f5b850245cf](this=0x1161d3182291 <BasicSourceMapConsumer map = 0x1161eb1efd31>,aArgs=0x116157402469 <Object map = 0x1161eb1eda21>)
    2: /* anonymous */(aka /* anonymous */) [0...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x100039dbf node::Abort() [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 2: 0x100039fc9 node::OnFatalError(char const*, char const*) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 3: 0x1001d1375 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 4: 0x10059c572 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 5: 0x10059f045 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 6: 0x10059aeef v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 7: 0x1005990c4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 8: 0x1005a594c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
 9: 0x1005a59cf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
10: 0x100575354 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
11: 0x1007fcff4 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/myusername/.nvm/versions/node/v10.10.0/bin/node]
12: 0x3f5b8475c01d
13: 0x3f5b850245cf
Abort trap: 6

Using @hennessyevan's fix in #3 (comment) worked for me.

Oh duh I didn't catch that the missing exclusion was in our source πŸ€¦β€β™‚οΈ

Definitely should be excluding node_modules, will fix.

commented

For me, i solved the out of memory issue by increasing nodejs memory allocation via --max-old-space-size

I update the build script in package.json like this,

  "scripts":{
     "build": "node --max-old-space-size=4076 build.js"
  } 

@buildAll how do you do that with react-script? and also for free netlify account? thanks

Builds locally no problem with yarn build. Netlify is throwing this build error.

LOCAL:

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

yarn global add serve
serve -s build

Find out more about deployment here:

bit.ly/CRA-deploy

Done in 131.86s.

jaxco@DESKTOP-D43RF4S MINGW64 /c/Projects/Hackathons/HackMoney/dev/front-end (redo-from-start)
$

NETLIFY:

1:08:29 PM: Build ready to start
1:08:31 PM: build-image version: 6dfe19d15f524c85d6f9bf7df9fb30b0a9f0a61a
1:08:31 PM: build-image tag: v3.3.10
1:08:31 PM: buildbot version: 6bb3f784302b4ad90de13035b247a363a8bee34a
1:08:32 PM: Fetching cached dependencies
1:08:32 PM: Starting to download cache of 229.6MB
1:08:33 PM: Finished downloading cache in 1.26718016s
1:08:33 PM: Starting to extract cache
1:08:44 PM: Finished extracting cache in 10.669832197s
1:08:44 PM: Finished fetching cache in 12.001938333s
1:08:44 PM: Starting to prepare the repo for build
1:08:44 PM: Preparing Git Reference refs/heads/redo-from-start
1:08:46 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: 'front-end' versus '/front-end' in the Netlify UI
1:08:46 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'front-end/build' versus 'build' in the Netlify UI
1:08:46 PM: Starting build script
1:08:46 PM: Installing dependencies
1:08:47 PM: Started restoring cached node version
1:08:50 PM: Finished restoring cached node version
1:08:51 PM: v10.20.1 is already installed.
1:08:52 PM: Now using node v10.20.1 (npm v6.14.4)
1:08:52 PM: Attempting ruby version 2.6.2, read from environment
1:08:53 PM: Using ruby version 2.6.2
1:08:53 PM: Using PHP version 5.6
1:08:53 PM: 5.2 is already installed.
1:08:53 PM: Using Swift version 5.2
1:08:53 PM: Started restoring cached node modules
1:08:53 PM: Finished restoring cached node modules
1:08:53 PM: Started restoring cached yarn cache
1:08:53 PM: Finished restoring cached yarn cache
1:08:54 PM: Installing NPM modules using Yarn version 1.17.0
1:08:54 PM: yarn install v1.17.0
1:08:55 PM: [1/4] Resolving packages...
1:08:55 PM: [2/4] Fetching packages...
1:09:25 PM: info fsevents@2.1.2: The platform "linux" is incompatible with this module.
1:09:25 PM: info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
1:09:25 PM: info fsevents@1.2.13: The platform "linux" is incompatible with this module.
1:09:25 PM: info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
1:09:25 PM: info fsevents@2.1.3: The platform "linux" is incompatible with this module.
1:09:25 PM: info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
1:09:25 PM: [3/4] Linking dependencies...
1:09:25 PM: warning "@openzeppelin/test-helpers > chai-bn@0.2.1" has unmet peer dependency "bn.js@^4.11.0".
1:09:25 PM: warning " > @testing-library/user-event@7.2.1" has unmet peer dependency "@testing-library/dom@>=5".
1:09:25 PM: warning "bnc-onboard > @toruslabs/torus-embed@1.3.4" has unmet peer dependency "@babel/runtime-corejs3@^7.9.2".
1:09:25 PM: warning "bnc-onboard > @toruslabs/torus-embed > @toruslabs/fetch-node-details@2.2.1" has unmet peer dependency "@babel/runtime-corejs3@^7.9.2".
1:09:25 PM: warning "bnc-onboard > @toruslabs/torus-embed > @toruslabs/torus.js@2.1.2" has unmet peer dependency "@babel/runtime-corejs3@^7.9.2".
1:09:25 PM: warning "bnc-onboard > authereum > rollup-plugin-commonjs@10.1.0" has unmet peer dependency "rollup@>=1.12.0".
1:09:25 PM: warning "bnc-onboard > web3-provider-engine > eth-block-tracker > @babel/plugin-transform-runtime@7.9.6" has unmet peer dependency "@babel/core@^7.0.0-0".
1:09:25 PM: warning "react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.17.1" 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".
1:09:46 PM: [4/4] Building fresh packages...
1:10:48 PM: Done in 113.15s.
1:10:48 PM: NPM modules installed using Yarn
1:10:48 PM: Started restoring cached go cache
1:10:48 PM: Finished restoring cached go cache
1:10:48 PM: go version go1.12 linux/amd64
1:10:48 PM: go version go1.12 linux/amd64
1:10:48 PM: Installing missing commands
1:10:48 PM: Verify run directory
1:10:50 PM: ​
1:10:50 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
1:10:50 PM: β”‚ Netlify Build β”‚
1:10:50 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
1:10:50 PM: ​
1:10:50 PM: ❯ Version
1:10:50 PM: @netlify/build 0.4.24
1:10:50 PM: ​
1:10:50 PM: ❯ Flags
1:10:50 PM: mode: buildbot
1:10:50 PM: ​
1:10:50 PM: ❯ Current directory
1:10:50 PM: /opt/build/repo/front-end
1:10:50 PM: ​
1:10:50 PM: ❯ Config file
1:10:50 PM: No config file was defined: using default values.
1:10:50 PM: ​
1:10:50 PM: ❯ Context
1:10:50 PM: production
1:10:50 PM: ​
1:10:50 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
1:10:50 PM: β”‚ 1. Build command from settings β”‚
1:10:50 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
1:10:50 PM: ​
1:10:50 PM: $ yarn build
1:10:50 PM:
1:10:50 PM:
1:10:50 PM: yarn run v1.17.0
1:10:50 PM:
1:10:50 PM: $ react-scripts build
1:10:52 PM: Creating an optimized production build...
1:13:02 PM: <--- Last few GCs --->
1:13:02 PM: [4839:0x2bf4fd0] 128076 ms: Mark-sweep 1383.8 (1427.4) -> 1383.4 (1427.4) MB, 1682.0 / 0.0 ms (average mu = 0.131, current mu = 0.016) allocation failure scavenge might not succeed
1:13:02 PM: [4839:0x2bf4fd0] 129766 ms: Mark-sweep 1385.5 (1427.4) -> 1385.2 (1428.9) MB, 1681.5 / 0.0 ms (average mu = 0.071, current mu = 0.005) allocation failure scavenge might not succeed
1:13:02 PM: <--- JS stacktrace --->
1:13:02 PM: ==== JS stack trace =========================================
1:13:02 PM: 0: ExitFrame [pc: 0x9363f15be1d]
1:13:02 PM: 1: StubFrame [pc: 0x9363f1134b0]
1:13:02 PM: Security context: 0x30b840d9e6c1
1:13:02 PM: 2: _replaceInStringNode [0x269a6bcb0e1] [/opt/build/repo/front-end/node_modules/webpack-sources/lib/ReplaceSource.js:~194] [pc=0x93640b8dd17](this=0x2f316fcdc049 ,output=0x14f894bd5f39 <JSArray[815764]>,replace=0x14f894bd5f59 ,getOriginalSource=0x2...
1:13:02 PM: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1:13:02 PM: 1: 0x8fb090 node::Abort() [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 2: 0x8fb0dc [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 3: 0xb031ce v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 4: 0xb03404 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 5: 0xef7462 [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 6: 0xef7568 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 7: 0xf03642 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 8: 0xf03f74 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 9: 0xf06be1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 10: 0xed0064 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 11: 0x11701ee v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/opt/buildhome/.nvm/versions/node/v10.20.1/bin/node]
1:13:02 PM: 12: 0x9363f15be1d
1:13:08 PM:
1:13:08 PM:
1:13:08 PM: error Command failed with exit code 1.
1:13:09 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
1:13:08 PM:
1:13:08 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1:13:08 PM: ​
1:13:08 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
1:13:08 PM: β”‚ Build failed β”‚
1:13:08 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
1:13:08 PM: ​
1:13:08 PM: Error message
1:13:08 PM: Command failed with exit code 1: yarn build
1:13:08 PM: ​
1:13:08 PM: Error location
1:13:08 PM: In Build command from settings:
1:13:08 PM: yarn build
1:13:08 PM: ​
1:13:08 PM: Caching artifacts
1:13:08 PM: Started saving node modules
1:13:08 PM: Finished saving node modules
1:13:08 PM: Started saving yarn cache
1:13:08 PM: Finished saving yarn cache
1:13:08 PM: Started saving pip cache
1:13:09 PM: Finished saving pip cache
1:13:09 PM: Started saving emacs cask dependencies
1:13:09 PM: Finished saving emacs cask dependencies
1:13:09 PM: Started saving maven dependencies
1:13:09 PM: Finished saving maven dependencies
1:13:09 PM: Started saving boot dependencies
1:13:09 PM: Finished saving boot dependencies
1:13:09 PM: Started saving go dependencies
1:13:09 PM: Finished saving go dependencies
1:13:09 PM: Error running command: Build script returned non-zero exit code: 1
1:13:09 PM: Failing build: Failed to build site
1:13:10 PM: Finished processing build request in 4m38.300890634s