I have successfully deployed this site many times and everything worked ok. I went back to make a small CSS change and am now getting a build error. Itβs a type error and is coming from Google maps.
It works locally, the previous deploy works so I wondering what might have changed on Netlify.
I have been playing with build commands but no joy?
Any suggestions are welcome
1:06:17 PM: Build ready to start
1:06:39 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
1:06:39 PM: build-image tag: v4.10.1
1:06:39 PM: buildbot version: 37262c48b1f3cfa88c6caed707d29b19aef6a5a7
1:06:39 PM: Fetching cached dependencies
1:06:39 PM: Failed to fetch cache, continuing with build
1:06:39 PM: Starting to prepare the repo for build
1:06:40 PM: No cached dependencies found. Cloning fresh repo
1:06:40 PM: git clone https://github.com/Jmac0/takelamfrontend
1:06:40 PM: Preparing Git Reference refs/heads/master
1:06:40 PM: Parsing package.json dependencies
1:06:41 PM: Starting build script
1:06:41 PM: Installing dependencies
1:06:41 PM: Python version set to 2.7
1:06:41 PM: Downloading and installing node v16.17.0...
1:06:41 PM: Downloading https://nodejs.org/dist/v16.17.0/node-v16.17.0-linux-x64.tar.xz...
1:06:42 PM: Computing checksum with sha256sum
1:06:42 PM: Checksums matched!
1:06:44 PM: Now using node v16.17.0 (npm v8.15.0)
1:06:44 PM: Started restoring cached build plugins
1:06:44 PM: Finished restoring cached build plugins
1:06:44 PM: Attempting ruby version 2.7.2, read from environment
1:06:45 PM: Using ruby version 2.7.2
1:06:45 PM: Using PHP version 8.0
1:06:45 PM: No npm workspaces detected
1:06:45 PM: Started restoring cached node modules
1:06:45 PM: Finished restoring cached node modules
1:06:45 PM: Installing NPM modules using NPM version 8.15.0
1:06:46 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:06:46 PM: npm WARN config location in the cache, and they are managed by
1:06:46 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:06:46 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:06:46 PM: npm WARN config location in the cache, and they are managed by
1:06:46 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:07:11 PM: npm WARN ERESOLVE overriding peer dependency
1:07:11 PM: npm WARN ERESOLVE overriding peer dependency
1:07:11 PM: npm WARN ERESOLVE overriding peer dependency
1:07:11 PM: npm WARN ERESOLVE overriding peer dependency
1:07:12 PM: npm WARN ERESOLVE overriding peer dependency
1:07:15 PM: npm WARN ERESOLVE overriding peer dependency
1:07:15 PM: npm WARN ERESOLVE overriding peer dependency
1:07:15 PM: npm WARN ERESOLVE overriding peer dependency
1:07:15 PM: npm WARN ERESOLVE overriding peer dependency
1:07:22 PM: npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
1:07:22 PM: npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
1:07:24 PM: npm WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
1:07:24 PM: 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: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
1:07:29 PM: npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
1:07:29 PM: npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
1:07:30 PM: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
1:08:39 PM: added 1874 packages, and audited 1875 packages in 2m
1:08:39 PM: 259 packages are looking for funding
1:08:39 PM: run `npm fund` for details
1:08:39 PM: 6 high severity vulnerabilities
1:08:39 PM: To address all issues (including breaking changes), run:
1:08:39 PM: npm audit fix --force
1:08:39 PM: Run `npm audit` for details.
1:08:39 PM: NPM modules installed
1:08:40 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:08:40 PM: npm WARN config location in the cache, and they are managed by
1:08:40 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:08:40 PM: Started restoring cached go cache
1:08:40 PM: Finished restoring cached go cache
1:08:40 PM: Installing Go version 1.16.5 (requested 1.16.5)
1:08:43 PM: unset GOOS;
1:08:43 PM: unset GOARCH;
1:08:43 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64';
1:08:43 PM: export PATH="/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64/bin:${PATH}";
1:08:43 PM: go version >&2;
1:08:43 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.16.5.linux.amd64.env"
1:08:43 PM: go version go1.16.5 linux/amd64
1:08:43 PM: Installing missing commands
1:08:43 PM: Verify run directory
1:08:44 PM: β
1:08:44 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:08:44 PM: Netlify Build
1:08:44 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:08:44 PM: β
1:08:44 PM: β― Version
1:08:44 PM: @netlify/build 27.17.1
1:08:44 PM: β
1:08:44 PM: β― Flags
1:08:44 PM: baseRelDir: true
1:08:44 PM: buildId: 6319dab926153f00080d033e
1:08:44 PM: deployId: 6319dab926153f00080d0340
1:08:44 PM: β
1:08:44 PM: β― Current directory
1:08:44 PM: /opt/build/repo
1:08:44 PM: β
1:08:44 PM: β― Config file
1:08:44 PM: No config file was defined: using default values.
1:08:44 PM: β
1:08:44 PM: β― Context
1:08:44 PM: production
1:08:44 PM: β
1:08:44 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:08:44 PM: 1. Build command from Netlify app
1:08:44 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:08:44 PM: β
1:08:44 PM: $ CI=false&&npm install && npm run build
1:08:45 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:08:45 PM: npm WARN config location in the cache, and they are managed by
1:08:45 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: @react-spring/three@9.5.2
1:08:46 PM: npm WARN Found: react@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react
1:08:46 PM: npm WARN peer react@"^16.8.0 || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN @react-spring/konva@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN 4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react@"^16.11.0 || >=17.0.0 || >=18.0.0" from @react-spring/three@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/three
1:08:46 PM: npm WARN @react-spring/three@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react@18.2.0
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN peer react@"^16.11.0 || >=17.0.0 || >=18.0.0" from @react-spring/three@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/three
1:08:46 PM: npm WARN @react-spring/three@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: @react-three/fiber@8.7.2
1:08:46 PM: npm WARN Found: react@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react
1:08:46 PM: npm WARN peer react@"^16.8.0 || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN @react-spring/konva@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN 4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react@">=18.0" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN peer @react-three/fiber@">=6.0" from @react-spring/three@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/three
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react@18.2.0
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN peer react@">=18.0" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN peer @react-three/fiber@">=6.0" from @react-spring/three@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/three
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: @react-three/fiber@8.7.2
1:08:46 PM: npm WARN Found: react-dom@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react-dom
1:08:46 PM: npm WARN peer react-dom@"16.8.x" from react-konva@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react-konva
1:08:46 PM: npm WARN peer react-konva@"^16.8.0 || ^17.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peerOptional react-dom@">=18.0" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN peer @react-three/fiber@">=6.0" from @react-spring/three@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/three
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react-dom@18.2.0
1:08:46 PM: npm WARN node_modules/react-dom
1:08:46 PM: npm WARN peerOptional react-dom@">=18.0" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN peer @react-three/fiber@">=6.0" from @react-spring/three@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/three
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: react-native@0.70.0
1:08:46 PM: npm WARN Found: react@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react
1:08:46 PM: npm WARN peer react@"^16.8.0 || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN @react-spring/konva@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN 4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react@"18.1.0" from react-native@0.70.0
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react-native
1:08:46 PM: npm WARN peer react-native@">=0.58" from @react-spring/native@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/native
1:08:46 PM: npm WARN 1 more (@react-three/fiber)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react@18.1.0
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN peer react@"18.1.0" from react-native@0.70.0
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react-native
1:08:46 PM: npm WARN peer react-native@">=0.58" from @react-spring/native@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/native
1:08:46 PM: npm WARN 1 more (@react-three/fiber)
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: react-reconciler@0.20.4
1:08:46 PM: npm WARN Found: react@17.0.2
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN react@"^17.0.2" from the root project
1:08:46 PM: npm WARN 59 more (@fortawesome/react-fontawesome, ...)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react@"^16.0.0" from react-reconciler@0.20.4
1:08:46 PM: npm WARN node_modules/react-zdog/node_modules/react-reconciler
1:08:46 PM: npm WARN react-reconciler@"^0.20.4" from react-zdog@1.0.11
1:08:46 PM: npm WARN node_modules/react-zdog
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react@16.14.0
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN peer react@"^16.0.0" from react-reconciler@0.20.4
1:08:46 PM: npm WARN node_modules/react-zdog/node_modules/react-reconciler
1:08:46 PM: npm WARN react-reconciler@"^0.20.4" from react-zdog@1.0.11
1:08:46 PM: npm WARN node_modules/react-zdog
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: react-reconciler@0.27.0
1:08:46 PM: npm WARN Found: react@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react
1:08:46 PM: npm WARN peer react@"^16.8.0 || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN @react-spring/konva@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN 4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react@"^18.0.0" from react-reconciler@0.27.0
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-reconciler
1:08:46 PM: npm WARN react-reconciler@"^0.27.0" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react@18.2.0
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN peer react@"^18.0.0" from react-reconciler@0.27.0
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-reconciler
1:08:46 PM: npm WARN react-reconciler@"^0.27.0" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: react-use-measure@2.1.1
1:08:46 PM: npm WARN Found: react@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react
1:08:46 PM: npm WARN peer react@"^16.8.0 || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN @react-spring/konva@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN 4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react@">=16.13" from react-use-measure@2.1.1
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
1:08:46 PM: npm WARN react-use-measure@"^2.1.1" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react@18.2.0
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN peer react@">=16.13" from react-use-measure@2.1.1
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
1:08:46 PM: npm WARN react-use-measure@"^2.1.1" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: react-use-measure@2.1.1
1:08:46 PM: npm WARN Found: react-dom@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react-dom
1:08:46 PM: npm WARN peer react-dom@"16.8.x" from react-konva@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react-konva
1:08:46 PM: npm WARN peer react-konva@"^16.8.0 || ^17.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react-dom@">=16.13" from react-use-measure@2.1.1
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
1:08:46 PM: npm WARN react-use-measure@"^2.1.1" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react-dom@18.2.0
1:08:46 PM: npm WARN node_modules/react-dom
1:08:46 PM: npm WARN peer react-dom@">=16.13" from react-use-measure@2.1.1
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/react-use-measure
1:08:46 PM: npm WARN react-use-measure@"^2.1.1" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN ERESOLVE overriding peer dependency
1:08:46 PM: npm WARN While resolving: suspend-react@0.0.8
1:08:46 PM: npm WARN Found: react@16.8.6
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/react
1:08:46 PM: npm WARN peer react@"^16.8.0 || >=17.0.0 || >=18.0.0" from @react-spring/konva@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-spring/konva
1:08:46 PM: npm WARN @react-spring/konva@"~9.5.2" from react-spring@9.5.2
1:08:46 PM: npm WARN node_modules/react-spring
1:08:46 PM: npm WARN 4 more (@react-spring/native, react-dom, react-konva, react-reconciler)
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Could not resolve dependency:
1:08:46 PM: npm WARN peer react@">=17.0" from suspend-react@0.0.8
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/suspend-react
1:08:46 PM: npm WARN suspend-react@"^0.0.8" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:46 PM: npm WARN
1:08:46 PM: npm WARN Conflicting peer dependency: react@18.2.0
1:08:46 PM: npm WARN node_modules/react
1:08:46 PM: npm WARN peer react@">=17.0" from suspend-react@0.0.8
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber/node_modules/suspend-react
1:08:46 PM: npm WARN suspend-react@"^0.0.8" from @react-three/fiber@8.7.2
1:08:46 PM: npm WARN node_modules/react-spring/node_modules/@react-three/fiber
1:08:47 PM: up to date, audited 1875 packages in 2s
1:08:47 PM: 259 packages are looking for funding
1:08:47 PM: run `npm fund` for details
1:08:47 PM: 6 high severity vulnerabilities
1:08:47 PM: To address all issues (including breaking changes), run:
1:08:47 PM: npm audit fix --force
1:08:47 PM: Run `npm audit` for details.
1:08:47 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
1:08:47 PM: npm WARN config location in the cache, and they are managed by
1:08:47 PM: npm WARN config [`cacache`](http://npm.im/cacache).
1:08:47 PM: > takelamreact@0.1.0 build
1:08:47 PM: > react-scripts build
1:08:50 PM: Creating an optimized production build...
1:09:20 PM: Failed to compile.
1:09:20 PM:
1:09:20 PM: TS2769: No overload matches this call.
1:09:20 PM: The last overload gave the following error.
1:09:20 PM: Argument of type '{ map: any; }' is not assignable to parameter of type 'Partial<unknown> & Attributes'.
1:09:20 PM: Object literal may only specify known properties, and 'map' does not exist in type 'Partial<unknown> & Attributes'.
1:09:20 PM: 83 | if (React.isValidElement(child)) {
1:09:20 PM: 84 | // set the map prop on the child component
1:09:20 PM: > 85 | return React.cloneElement(child, { map });
1:09:20 PM: | ^^^
1:09:20 PM: 86 | }
1:09:20 PM: 87 | })}
1:09:20 PM: 88 | </>
1:09:20 PM: β
1:09:20 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:09:20 PM: "build.command" failed
1:09:20 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:09:20 PM: β
1:09:20 PM: Error message
1:09:20 PM: Command failed with exit code 1: CI=false&&npm install && npm run build (https://ntl.fyi/exit-code-1)
1:09:20 PM: β
1:09:20 PM: Error location
1:09:20 PM: In Build command from Netlify app:
1:09:20 PM: CI=false&&npm install && npm run build
1:09:20 PM: β
1:09:20 PM: Resolved config
1:09:20 PM: build:
1:09:20 PM: command: CI=false&&npm install && npm run build
1:09:20 PM: commandOrigin: ui
1:09:20 PM: environment:
1:09:20 PM: - REACT_APP_BASE_URL
1:09:20 PM: - REACT_APP_GOOGLE_API
1:09:20 PM: publish: /opt/build/repo/build
1:09:20 PM: publishOrigin: ui
1:09:20 PM: Caching artifacts
1:09:20 PM: Started saving node modules
1:09:20 PM: Finished saving node modules
1:09:20 PM: Started saving build plugins
1:09:20 PM: Finished saving build plugins
1:09:20 PM: Started saving pip cache
1:09:20 PM: Finished saving pip cache
1:09:20 PM: Started saving emacs cask dependencies
1:09:20 PM: Finished saving emacs cask dependencies
1:09:20 PM: Started saving maven dependencies
1:09:20 PM: Finished saving maven dependencies
1:09:20 PM: Started saving boot dependencies
1:09:20 PM: Finished saving boot dependencies
1:09:20 PM: Started saving rust rustup cache
1:09:20 PM: Finished saving rust rustup cache
1:09:20 PM: Started saving go dependencies
1:09:20 PM: Finished saving go dependencies
1:09:21 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
1:09:21 PM: Creating deploy upload records
1:09:21 PM: Failing build: Failed to build site
1:09:21 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
1:09:22 PM: Finished processing build request in 2m42.299907768s