Problem running Build command: npm run prerender

IN ANGULAR in version 27.20.1 of netlify build I had no problem executing the Build command: npm run prerender, but in the current version 27.20.6 of netlify build when trying to execute the Build command: npm run prerender it gives me the following error, does anyone know how to fix it??

2:56:28 PM: 
2:56:28 PM: Build at: 2022-10-14T20:56:28.585Z - Hash: 84a1ad7376b306b8 - Time: 33960ms
2:56:28 PM: - Prerendering 7 route(s) to /opt/build/repo/dist/angularSeriesjr/browser...
2:56:29 PM: βœ– Prerendering routes to /opt/build/repo/dist/angularSeriesjr/browser failed.
2:56:29 PM: Method Promise.prototype.then called on incompatible receiver [object Object]
2:56:29 PM: ​
2:56:29 PM: ────────────────────────────────────────────────────────────────
2:56:29 PM:   "build.command" failed                                        
2:56:29 PM: ────────────────────────────────────────────────────────────────
2:56:29 PM: ​
2:56:29 PM:   Error message
2:56:29 PM:   Command failed with exit code 1: npm run prerender (https://ntl.fyi/exit-code-1)
2:56:29 PM: ​
2:56:29 PM:   Error location
2:56:29 PM:   In Build command from Netlify app:
2:56:29 PM:   npm run prerender
2:56:29 PM: ​
2:56:29 PM:   Resolved config
2:56:29 PM:   build:
2:56:29 PM:     command: npm run prerender
2:56:29 PM:     commandOrigin: ui
2:56:29 PM:     environment:
2:56:29 PM:       - NETLIFY_GRAPH_TOKEN
2:56:29 PM:       - ONEGRAPH_AUTHLIFY_TOKEN
2:56:29 PM:     publish: /opt/build/repo/dist/angularSeriesjr/browser
2:56:29 PM:     publishOrigin: ui
2:56:29 PM:   plugins:
2:56:29 PM:     - inputs: {}
2:56:29 PM:       origin: config
2:56:29 PM:       package: '@netlify/plugin-sitemap'
2:56:29 PM:     - inputs: {}
2:56:29 PM:       origin: ui
2:56:29 PM:       package: netlify-plugin-image-optim
2:56:29 PM:   redirects:
2:56:29 PM:     - from: /arc-sw.js
2:56:29 PM:       status: 200
2:56:29 PM:       to: https://arc.io/arc-sw.js
2:56:29 PM:   redirectsOrigin: config
2:56:30 PM: Caching artifacts
2:56:30 PM: Started saving node modules
2:56:30 PM: Finished saving node modules
2:56:30 PM: Started saving build plugins
2:56:30 PM: Finished saving build plugins
2:56:30 PM: Started saving pip cache
2:56:30 PM: Finished saving pip cache
2:56:30 PM: Started saving emacs cask dependencies
2:56:30 PM: Finished saving emacs cask dependencies
2:56:30 PM: Started saving maven dependencies
2:56:30 PM: Finished saving maven dependencies
2:56:30 PM: Started saving boot dependencies
2:56:30 PM: Finished saving boot dependencies
2:56:30 PM: Started saving rust rustup cache
2:56:30 PM: Finished saving rust rustup cache
2:56:30 PM: Started saving go dependencies
2:56:30 PM: Finished saving go dependencies
2:56:32 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:56:32 PM: Creating deploy upload records
2:56:33 PM: Failing build: Failed to build site
2:56:33 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
2:56:33 PM: Finished processing build request in 1m28.926381777s

Sounds like an Angular issue to me since an older version works fine with the otherwise same setup of Netlify.

I’m also having the same problem. Was running fine on previous netlify version.

11:46:08 PM: Build ready to start
11:46:16 PM: build-image version: 9289b698a503f132b265bd089ab40ce1d6f9e65e (focal)
11:46:16 PM: build-image tag: v4.12.0
11:46:16 PM: buildbot version: 2510ae842d7cc96532da2c05a74ba836f3e7f056
11:46:16 PM: Building without cache
11:46:16 PM: Starting to prepare the repo for build
11:46:17 PM: No cached dependencies found. Cloning fresh repo
11:46:17 PM: git clone https://github.com/0456franco/spotbie_angular
11:46:22 PM: Preparing Git Reference refs/heads/spotbie-staging
11:46:23 PM: Parsing package.json dependencies
11:46:25 PM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'functions' versus './functions' in the Netlify UI
11:46:25 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'npm run prerender' versus 'CI='' ng build --configuration production --output-hashing=all && ng run spotbie:server:production' in the Netlify UI
11:46:25 PM: Starting build script
11:46:25 PM: Installing dependencies
11:46:25 PM: Python version set to 2.7
11:46:25 PM: Downloading and installing node v16.18.0...
11:46:25 PM: Downloading https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.xz...
11:46:26 PM: Computing checksum with sha256sum
11:46:26 PM: Checksums matched!
11:46:28 PM: Now using node v16.18.0 (npm v8.19.2)
11:46:28 PM: Started restoring cached build plugins
11:46:28 PM: Finished restoring cached build plugins
11:46:28 PM: Attempting ruby version 2.7.2, read from environment
11:46:28 PM: Using ruby version 2.7.2
11:46:29 PM: Using PHP version 8.0
11:46:29 PM: No npm workspaces detected
11:46:29 PM: Started restoring cached node modules
11:46:29 PM: Finished restoring cached node modules
11:46:29 PM: Installing NPM modules using NPM version 8.19.2
11:46:29 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
11:46:29 PM: npm WARN config location in the cache, and they are managed by
11:46:29 PM: npm WARN config     [`cacache`](http://npm.im/cacache).
11:46:30 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
11:46:30 PM: npm WARN config location in the cache, and they are managed by
11:46:30 PM: npm WARN config     [`cacache`](http://npm.im/cacache).
11:46:39 PM: npm WARN deprecated @types/googlemaps@3.39.12: Types for the Google Maps browser API have moved to @types/google.maps. Note: these types are not for the googlemaps npm package, which is a Node API.
11:46:52 PM: added 1330 packages, and audited 1331 packages in 23s
11:46:52 PM: 120 packages are looking for funding
11:46:52 PM:   run `npm fund` for details
11:46:52 PM: 7 vulnerabilities (2 moderate, 5 high)
11:46:52 PM: To address issues that do not require attention, run:
11:46:52 PM:   npm audit fix
11:46:52 PM: To address all issues (including breaking changes), run:
11:46:52 PM:   npm audit fix --force
11:46:52 PM: Run `npm audit` for details.
11:46:52 PM: NPM modules installed
11:46:52 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
11:46:52 PM: npm WARN config location in the cache, and they are managed by
11:46:52 PM: npm WARN config     [`cacache`](http://npm.im/cacache).
11:46:52 PM: Started restoring cached go cache
11:46:52 PM: Finished restoring cached go cache
11:46:52 PM: Installing Go version 1.16.5 (requested 1.16.5)
11:46:56 PM: unset GOOS;
11:46:56 PM: unset GOARCH;
11:46:56 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64';
11:46:56 PM: export PATH="/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64/bin:${PATH}";
11:46:56 PM: go version >&2;
11:46:56 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.16.5.linux.amd64.env"
11:46:56 PM: go version go1.16.5 linux/amd64
11:46:56 PM: Installing missing commands
11:46:56 PM: Verify run directory
11:46:58 PM: ​
11:46:58 PM: ────────────────────────────────────────────────────────────────
11:46:58 PM:   Netlify Build                                                 
11:46:58 PM: ────────────────────────────────────────────────────────────────
11:46:58 PM: ​
11:46:58 PM: ❯ Version
11:46:58 PM:   @netlify/build 27.20.6
11:46:58 PM: ​
11:46:58 PM: ❯ Flags
11:46:58 PM:   baseRelDir: true
11:46:58 PM:   buildId: 634cd00047ed830bcedf09aa
11:46:58 PM:   deployId: 634cd00047ed830bcedf09ac
11:46:58 PM: ​
11:46:58 PM: ❯ Current directory
11:46:58 PM:   /opt/build/repo
11:46:58 PM: ​
11:46:58 PM: ❯ Config file
11:46:58 PM:   /opt/build/repo/netlify.toml
11:46:58 PM: ​
11:46:58 PM: ❯ Context
11:46:58 PM:   production
11:46:58 PM: ​
11:46:58 PM: ────────────────────────────────────────────────────────────────
11:46:58 PM:   1. build.command from netlify.toml                            
11:46:58 PM: ────────────────────────────────────────────────────────────────
11:46:58 PM: ​
11:46:58 PM: $ npm run prerender
11:46:58 PM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
11:46:58 PM: npm WARN config location in the cache, and they are managed by
11:46:58 PM: npm WARN config     [`cacache`](http://npm.im/cacache).
11:46:58 PM: > spotbie@1.0.2 prerender
11:46:58 PM: > ng run spotbie:prerender
11:47:01 PM: Unable to extract routes from application.
11:47:02 PM: - Generating server application bundles (phase: setup)...
11:47:02 PM: - Generating browser application bundles (phase: setup)...
11:47:04 PM: Processing legacy "View Engine" libraries:
11:47:04 PM: - @agm/core [es2015/esm2015] (https://github.com/SebastianM/angular-google-maps.git)
11:47:05 PM: - @ngx-share/core [es2015/esm2015] (git://github.com/murhafsousli/ngx-sharebuttons.git)
11:47:05 PM: - @techiediaries/ngx-qrcode [es2015/esm2015] (https://github.com/techiediaries/ngx-qrcode)
11:47:06 PM: - agm-overlays [es2015/esm2015] (git+https://github.com/ackerapple/agm-overlays.git)
11:47:06 PM: - stripe-angular [es2015/esm2015] (git+https://github.com/AckerApple/stripe-angular.git)
11:47:06 PM: Warning: Unable to fully load /opt/build/repo/node_modules/agm-overlays/fesm2015/agm-overlays.js for source-map flattening: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/agm-overlays/fesm2015/agm-overlays.js.map'
11:47:06 PM: Warning: Unable to fully load /opt/build/repo/node_modules/agm-overlays/fesm2015/agm-overlays.js for source-map flattening: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/agm-overlays/fesm2015/agm-overlays.js.map'
11:47:07 PM: Encourage the library authors to publish an Ivy distribution.
11:48:03 PM: βœ” Browser application bundle generation complete.
11:48:03 PM: βœ” Browser application bundle generation complete.
11:48:03 PM: - Copying assets...
11:48:03 PM: βœ” Copying assets complete.
11:48:03 PM: - Generating index html...
11:48:03 PM: - Generating index html...
11:48:03 PM: 2 rules skipped due to selector errors:
11:48:03 PM:   legend+* -> Cannot read properties of undefined (reading 'type')
11:48:03 PM:   .table>>>* -> Did not expect successive traversals.
11:48:04 PM: βœ” Index html generation complete.
11:48:04 PM: Initial Chunk Files           | Names                    |  Raw Size | Estimated Transfer Size
11:48:04 PM: main.7a387eee737ca0c7.js      | main                     |   1.89 MB |               397.01 kB
11:48:04 PM: styles.24b55ab52e6442f9.css   | styles                   | 344.20 kB |                42.33 kB
11:48:04 PM: scripts.b4fa07820ec355b6.js   | scripts                  |  65.52 kB |                16.49 kB
11:48:04 PM: polyfills.be82455f66c99a0d.js | polyfills                |  44.99 kB |                13.83 kB
11:48:04 PM: runtime.8b7a9216fe8326f8.js   | runtime                  |   2.71 kB |                 1.26 kB
11:48:04 PM: 
11:48:04 PM:                               | Initial Total            |   2.34 MB |               470.92 kB
11:48:04 PM: 
11:48:04 PM: Lazy Chunk Files              | Names                    |  Raw Size | Estimated Transfer Size
11:48:04 PM: 45.53ad7e65770adb69.js        | business-business-module |   2.08 kB |               975 bytes
11:48:04 PM: 
11:48:04 PM: Build at: 2022-10-17T03:48:04.159Z - Hash: ee6be73935dcacfd - Time: 61026ms
11:48:04 PM: 
11:48:04 PM: ./src/assets/bootstrap/css/bootstrap.min.css.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].rules[0].oneOf[0].use[2]!./src/assets/bootstrap/css/bootstrap.min.css - Warning: Module Warning (from ./node_modules/postcss-loader/dist/cjs.js):
11:48:04 PM: Warning
11:48:04 PM: 
11:48:04 PM: (6:27710) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
11:48:04 PM: 
11:48:04 PM: Warning: /opt/build/repo/node_modules/@techiediaries/ngx-qrcode/__ivy_ngcc__/fesm2015/techiediaries-ngx-qrcode.js depends on 'qrcode'. CommonJS or AMD dependencies can cause optimization bailouts.
11:48:04 PM: For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
11:48:04 PM: 
11:48:04 PM: Warning: /opt/build/repo/src/app/helpers/scroll-to-top/scroll-to-top.component.ts depends on 'jquery'. CommonJS or AMD dependencies can cause optimization bailouts.
11:48:04 PM: For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
11:48:04 PM: 
11:48:04 PM: Warning: /opt/build/repo/src/app/spotbie/map/info-object/info-object.component.css exceeded maximum budget. Budget 6.00 kB was not met by 742 bytes with a total of 6.72 kB.
11:48:04 PM: 
11:48:04 PM: Warning: /opt/build/repo/src/app/spotbie/map/map.component.css exceeded maximum budget. Budget 6.00 kB was not met by 12.60 kB with a total of 18.60 kB.
11:48:04 PM: 
11:48:04 PM: Warning: /opt/build/repo/src/app/spotbie/menu.component.css exceeded maximum budget. Budget 6.00 kB was not met by 3.17 kB with a total of 9.17 kB.
11:48:04 PM: 
11:48:04 PM: Warning: /opt/build/repo/src/app/spotbie/spotbie-logged-in/settings/settings.component.css exceeded maximum budget. Budget 6.00 kB was not met by 432 bytes with a total of 6.42 kB.
11:48:04 PM: 
11:48:04 PM: Warning: bundle initial exceeded maximum budget. Budget 2.00 MB was not met by 346.25 kB with a total of 2.34 MB.
11:48:04 PM: 
11:48:04 PM: 
11:48:04 PM: βœ” Server application bundle generation complete.
11:48:04 PM: βœ” Server application bundle generation complete.
11:48:04 PM: Initial Chunk Files | Names                    | Raw Size
11:48:04 PM: main.js             | main                     |  6.08 MB | 
11:48:04 PM: 
11:48:04 PM:                     | Initial Total            |  6.08 MB
11:48:04 PM: 
11:48:04 PM: Lazy Chunk Files    | Names                    | Raw Size
11:48:04 PM: 45.js               | business-business-module |  3.79 kB | 
11:48:04 PM: 
11:48:04 PM: Build at: 2022-10-17T03:48:04.201Z - Hash: 54ab587a50f500c6 - Time: 61082ms
11:48:04 PM: - Prerendering 1 route(s) to /opt/build/repo/dist/spotbie/browser...
11:48:04 PM: ERROR Error: jQuery requires a window with a document
11:48:04 PM:     at module2.exports.module2.exports (/opt/build/repo/dist/spotbie/server/main.js:1:2137645)
11:48:04 PM:     at ScrollToTopComponent.ngAfterViewInit (/opt/build/repo/dist/spotbie/server/main.js:1:118465)
11:48:04 PM:     at callHook (/opt/build/repo/dist/spotbie/server/main.js:1:3254415)
11:48:04 PM:     at callHooks (/opt/build/repo/dist/spotbie/server/main.js:1:3254032)
11:48:04 PM:     at executeInitAndCheckHooks (/opt/build/repo/dist/spotbie/server/main.js:1:3253368)
11:48:04 PM:     at refreshView (/opt/build/repo/dist/spotbie/server/main.js:1:3395404)
11:48:04 PM:     at refreshComponent (/opt/build/repo/dist/spotbie/server/main.js:1:3413567)
11:48:04 PM:     at refreshChildComponents (/opt/build/repo/dist/spotbie/server/main.js:1:3391252)
11:48:04 PM:     at refreshView (/opt/build/repo/dist/spotbie/server/main.js:1:3395085)
11:48:04 PM:     at refreshComponent (/opt/build/repo/dist/spotbie/server/main.js:1:3413567)
11:48:04 PM: βœ– Prerendering routes to /opt/build/repo/dist/spotbie/browser failed.
11:48:04 PM: Method Promise.prototype.then called on incompatible receiver [object Object]
11:48:05 PM: ​
11:48:05 PM: ────────────────────────────────────────────────────────────────
11:48:05 PM:   "build.command" failed                                        
11:48:05 PM: ────────────────────────────────────────────────────────────────
11:48:05 PM: ​
11:48:05 PM:   Error message
11:48:05 PM:   Command failed with exit code 1: npm run prerender (https://ntl.fyi/exit-code-1)
11:48:05 PM: ​
11:48:05 PM:   Error location
11:48:05 PM:   In build.command from netlify.toml:
11:48:05 PM:   npm run prerender
11:48:05 PM: ​
11:48:05 PM:   Resolved config
11:48:05 PM:   build:
11:48:05 PM:     command: npm run prerender
11:48:05 PM:     commandOrigin: config
11:48:05 PM:     publish: /opt/build/repo/dist/spotbie/browser
11:48:05 PM:     publishOrigin: config
11:48:05 PM:   functionsDirectory: /opt/build/repo/functions
11:48:05 PM: Caching artifacts
11:48:05 PM: Started saving node modules
11:48:05 PM: Finished saving node modules
11:48:05 PM: Started saving build plugins
11:48:05 PM: Finished saving build plugins
11:48:05 PM: Started saving pip cache
11:48:05 PM: Finished saving pip cache
11:48:05 PM: Started saving emacs cask dependencies
11:48:05 PM: Finished saving emacs cask dependencies
11:48:05 PM: Started saving maven dependencies
11:48:05 PM: Finished saving maven dependencies
11:48:05 PM: Started saving boot dependencies
11:48:05 PM: Finished saving boot dependencies
11:48:05 PM: Started saving rust rustup cache
11:48:05 PM: Finished saving rust rustup cache
11:48:05 PM: Started saving go dependencies
11:48:05 PM: Finished saving go dependencies
11:48:06 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:48:06 PM: Creating deploy upload records
11:48:06 PM: Failing build: Failed to build site
11:48:06 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
11:48:07 PM: Finished processing build request in 1m50.26489859s
3:39:03 AM: Build ready to start
3:39:12 AM: build-image version: 9289b698a503f132b265bd089ab40ce1d6f9e65e (focal)
3:39:12 AM: build-image tag: v4.12.0
3:39:12 AM: buildbot version: 8004afba0d79c2913deefb1ea0ee8f3ed710b828
3:39:12 AM: Fetching cached dependencies
3:39:12 AM: Starting to download cache of 590.2MB
3:39:17 AM: Finished downloading cache in 5.085805808s
3:39:17 AM: Starting to extract cache
3:39:20 AM: Finished extracting cache in 2.406301648s
3:39:20 AM: Finished fetching cache in 7.57621895s
3:39:20 AM: Starting to prepare the repo for build
3:39:20 AM: Preparing Git Reference refs/heads/spotbie-staging
3:39:21 AM: Parsing package.json dependencies
3:39:22 AM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'functions' versus './functions' in the Netlify UI
3:39:22 AM: Different build command detected, going to use the one specified in the Netlify configuration file: 'npm run prerender' versus 'ng build --configuration production --output-hashing=all && ng run spotbie:server:production' in the Netlify UI
3:39:22 AM: Starting build script
3:39:22 AM: Installing dependencies
3:39:22 AM: Python version set to 2.7
3:39:22 AM: Started restoring cached node version
3:39:23 AM: Finished restoring cached node version
3:39:23 AM: v16.17.1 is already installed.
3:39:24 AM: Now using node v16.17.1 (npm v8.15.0)
3:39:24 AM: Started restoring cached build plugins
3:39:24 AM: Finished restoring cached build plugins
3:39:24 AM: Attempting ruby version 2.7.2, read from environment
3:39:24 AM: Using ruby version 2.7.2
3:39:24 AM: Using PHP version 8.0
3:39:25 AM: No npm workspaces detected
3:39:25 AM: Started restoring cached node modules
3:39:25 AM: Finished restoring cached node modules
3:39:25 AM: Started restoring cached go cache
3:39:25 AM: Finished restoring cached go cache
3:39:25 AM: Installing Go version 1.16.5 (requested 1.16.5)
3:39:29 AM: unset GOOS;
3:39:29 AM: unset GOARCH;
3:39:29 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64';
3:39:29 AM: export PATH="/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64/bin:${PATH}";
3:39:29 AM: go version >&2;
3:39:29 AM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.16.5.linux.amd64.env"
3:39:29 AM: go version go1.16.5 linux/amd64
3:39:29 AM: Installing missing commands
3:39:29 AM: Verify run directory
3:39:30 AM: ​
3:39:30 AM: ────────────────────────────────────────────────────────────────
3:39:30 AM:   Netlify Build                                                 
3:39:30 AM: ────────────────────────────────────────────────────────────────
3:39:30 AM: ​
3:39:30 AM: ❯ Version
3:39:30 AM:   @netlify/build 27.20.1
3:39:30 AM: ​
3:39:30 AM: ❯ Flags
3:39:30 AM:   baseRelDir: true
3:39:30 AM:   buildId: 633be317953fce00083c5773
3:39:30 AM:   deployId: 633be317953fce00083c5775
3:39:30 AM: ​
3:39:30 AM: ❯ Current directory
3:39:30 AM:   /opt/build/repo
3:39:30 AM: ​
3:39:30 AM: ❯ Config file
3:39:30 AM:   /opt/build/repo/netlify.toml
3:39:30 AM: ​
3:39:30 AM: ❯ Context
3:39:30 AM:   production
3:39:30 AM: ​
3:39:30 AM: ────────────────────────────────────────────────────────────────
3:39:30 AM:   1. build.command from netlify.toml                            
3:39:30 AM: ────────────────────────────────────────────────────────────────
3:39:30 AM: ​
3:39:30 AM: $ npm run prerender
3:39:30 AM: > spotbie@1.0.2 prerender
3:39:30 AM: > ng run spotbie:prerender
3:39:34 AM: Unable to extract routes from application.
3:39:35 AM: - Generating server application bundles (phase: setup)...
3:39:35 AM: - Generating browser application bundles (phase: setup)...
3:40:31 AM: βœ” Browser application bundle generation complete.
3:40:31 AM: βœ” Browser application bundle generation complete.
3:40:31 AM: - Copying assets...
3:40:31 AM: βœ” Copying assets complete.
3:40:31 AM: - Generating index html...
3:40:31 AM: βœ” Server application bundle generation complete.
3:40:31 AM: βœ” Server application bundle generation complete.
3:40:31 AM: Initial Chunk Files | Names                    | Raw Size
3:40:31 AM: main.js             | main                     |  6.07 MB | 
3:40:31 AM: 
3:40:31 AM:                     | Initial Total            |  6.07 MB
3:40:31 AM: 
3:40:31 AM: Lazy Chunk Files    | Names                    | Raw Size
3:40:31 AM: 45.js               | business-business-module |  3.79 kB | 
3:40:31 AM: 
3:40:31 AM: Build at: 2022-10-04T07:40:31.801Z - Hash: d3242dbef3045280 - Time: 56372ms
3:40:32 AM: - Generating index html...
3:40:32 AM: 2 rules skipped due to selector errors:
3:40:32 AM:   legend+* -> Cannot read properties of undefined (reading 'type')
3:40:32 AM:   .table>>>* -> Did not expect successive traversals.
3:40:32 AM: βœ” Index html generation complete.
3:40:32 AM: Initial Chunk Files           | Names                    |  Raw Size | Estimated Transfer Size
3:40:32 AM: main.d0f2db142e5be312.js      | main                     |   1.88 MB |               396.62 kB
3:40:32 AM: styles.f2b9a8676dea3030.css   | styles                   | 344.20 kB |                42.10 kB
3:40:32 AM: scripts.b4fa07820ec355b6.js   | scripts                  |  65.52 kB |                16.49 kB
3:40:32 AM: polyfills.be82455f66c99a0d.js | polyfills                |  44.99 kB |                13.83 kB
3:40:32 AM: runtime.20ae357a44d1a8a9.js   | runtime                  |   2.71 kB |                 1.27 kB
3:40:32 AM: 
3:40:32 AM:                               | Initial Total            |   2.33 MB |               470.30 kB
3:40:32 AM: 
3:40:32 AM: Lazy Chunk Files              | Names                    |  Raw Size | Estimated Transfer Size
3:40:32 AM: 45.d4aa6c16d8fce301.js        | business-business-module |   2.07 kB |               974 bytes
3:40:32 AM: 
3:40:32 AM: Build at: 2022-10-04T07:40:32.092Z - Hash: 895e54c037b8d29b - Time: 56650ms
3:40:32 AM: 
3:40:32 AM: ./src/assets/bootstrap/css/bootstrap.min.css.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].rules[0].oneOf[0].use[2]!./src/assets/bootstrap/css/bootstrap.min.css - Warning: Module Warning (from ./node_modules/postcss-loader/dist/cjs.js):
3:40:32 AM: Warning
3:40:32 AM: 
3:40:32 AM: (6:27710) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
3:40:32 AM: 
3:40:32 AM: Warning: /opt/build/repo/node_modules/@techiediaries/ngx-qrcode/__ivy_ngcc__/fesm2015/techiediaries-ngx-qrcode.js depends on 'qrcode'. CommonJS or AMD dependencies can cause optimization bailouts.
3:40:32 AM: For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
3:40:32 AM: 
3:40:32 AM: Warning: /opt/build/repo/src/app/helpers/scroll-to-top/scroll-to-top.component.ts depends on 'jquery'. CommonJS or AMD dependencies can cause optimization bailouts.
3:40:32 AM: For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
3:40:32 AM: 
3:40:32 AM: Warning: /opt/build/repo/src/app/spotbie/map/info-object/info-object.component.css exceeded maximum budget. Budget 6.00 kB was not met by 742 bytes with a total of 6.72 kB.
3:40:32 AM: 
3:40:32 AM: Warning: /opt/build/repo/src/app/spotbie/map/map.component.css exceeded maximum budget. Budget 6.00 kB was not met by 12.95 kB with a total of 18.95 kB.
3:40:32 AM: 
3:40:32 AM: Warning: /opt/build/repo/src/app/spotbie/menu.component.css exceeded maximum budget. Budget 6.00 kB was not met by 3.17 kB with a total of 9.17 kB.
3:40:32 AM: 
3:40:32 AM: Warning: /opt/build/repo/src/app/spotbie/spotbie-logged-in/settings/settings.component.css exceeded maximum budget. Budget 6.00 kB was not met by 432 bytes with a total of 6.42 kB.
3:40:32 AM: 
3:40:32 AM: Warning: bundle initial exceeded maximum budget. Budget 2.00 MB was not met by 339.28 kB with a total of 2.33 MB.
3:40:32 AM: 
3:40:32 AM: 
3:40:32 AM: - Prerendering 1 route(s) to /opt/build/repo/dist/spotbie/browser...
3:40:32 AM: ERROR Error: jQuery requires a window with a document
3:40:32 AM:     at module2.exports.module2.exports (/opt/build/repo/dist/spotbie/server/main.js:1:2131242)
3:40:32 AM:     at ScrollToTopComponent.ngAfterViewInit (/opt/build/repo/dist/spotbie/server/main.js:1:118504)
3:40:32 AM:     at callHook (/opt/build/repo/dist/spotbie/server/main.js:1:3247700)
3:40:32 AM:     at callHooks (/opt/build/repo/dist/spotbie/server/main.js:1:3247317)
3:40:32 AM:     at executeInitAndCheckHooks (/opt/build/repo/dist/spotbie/server/main.js:1:3246653)
3:40:32 AM:     at refreshView (/opt/build/repo/dist/spotbie/server/main.js:1:3388689)
3:40:32 AM:     at refreshComponent (/opt/build/repo/dist/spotbie/server/main.js:1:3406852)
3:40:32 AM:     at refreshChildComponents (/opt/build/repo/dist/spotbie/server/main.js:1:3384537)
3:40:32 AM:     at refreshView (/opt/build/repo/dist/spotbie/server/main.js:1:3388370)
3:40:32 AM:     at refreshComponent (/opt/build/repo/dist/spotbie/server/main.js:1:3406852)
3:40:33 AM: - Prerendering 1 route(s) to /opt/build/repo/dist/spotbie/browser...
3:40:33 AM: βœ” Prerendering routes to /opt/build/repo/dist/spotbie/browser complete.
3:40:33 AM: - Generating service worker...
3:40:33 AM: 2 rules skipped due to selector errors:
3:40:33 AM:   legend+* -> Cannot read properties of undefined (reading 'type')
3:40:33 AM:   .table>>>* -> Did not expect successive traversals.
3:40:34 AM: βœ” Service worker generation complete.
3:40:34 AM: ​
3:40:34 AM: (build.command completed in 1m 3.7s)
3:40:34 AM: ​
3:40:34 AM: ────────────────────────────────────────────────────────────────
3:40:34 AM:   2. Functions bundling                                         
3:40:34 AM: ────────────────────────────────────────────────────────────────
3:40:34 AM: ​
3:40:34 AM: The Netlify Functions setting targets a non-existing directory: functions
3:40:34 AM: ​
3:40:34 AM: (Functions bundling completed in 1ms)
3:40:34 AM: ​
3:40:34 AM: ────────────────────────────────────────────────────────────────
3:40:34 AM:   3. Deploy site                                                
3:40:34 AM: ────────────────────────────────────────────────────────────────
3:40:34 AM: ​
3:40:34 AM: Starting to deploy site from 'dist/spotbie/browser'
3:40:34 AM: Creating deploy tree 
3:40:34 AM: Creating deploy upload records
3:40:34 AM: 4 new files to upload
3:40:34 AM: 0 new functions to upload
3:40:34 AM: Site deploy was successfully initiated
3:40:34 AM: ​
3:40:34 AM: (Deploy site completed in 605ms)
3:40:34 AM: ​
3:40:34 AM: ────────────────────────────────────────────────────────────────
3:40:34 AM:   Netlify Build Complete                                        
3:40:34 AM: ────────────────────────────────────────────────────────────────
3:40:34 AM: ​
3:40:34 AM: (Netlify Build completed in 1m 4.3s)
3:40:35 AM: Starting post processing
3:40:35 AM: Caching artifacts
3:40:35 AM: Started saving node modules
3:40:35 AM: Finished saving node modules
3:40:35 AM: Started saving build plugins
3:40:35 AM: Finished saving build plugins
3:40:35 AM: Started saving pip cache
3:40:35 AM: Finished saving pip cache
3:40:35 AM: Started saving emacs cask dependencies
3:40:35 AM: Finished saving emacs cask dependencies
3:40:35 AM: Started saving maven dependencies
3:40:35 AM: Finished saving maven dependencies
3:40:35 AM: Started saving boot dependencies
3:40:35 AM: Finished saving boot dependencies
3:40:35 AM: Started saving rust rustup cache
3:40:35 AM: Finished saving rust rustup cache
3:40:35 AM: Started saving go dependencies
3:40:35 AM: Finished saving go dependencies
3:40:35 AM: Build script success
3:40:35 AM: Post processing - HTML
3:40:35 AM: Post processing - header rules
3:40:35 AM: Post processing - redirect rules
3:40:35 AM: Post processing done
3:40:38 AM: Uploading Cache of size 589.8MB
3:40:38 AM: Site is live ✨
3:40:42 AM: Finished processing build request in 1m29.473922362s

Hey there, @maindedeux :wave:

Looking at the below lines from your deploy log, it looks like you are being directed to the Angular docs for reconfiguring JS dependencies. Have you checked to make sure all of your dependencies are configured correctly?

3:40:32 AM: Warning: /opt/build/repo/node_modules/@techiediaries/ngx-qrcode/__ivy_ngcc__/fesm2015/techiediaries-ngx-qrcode.js depends on 'qrcode'. CommonJS or AMD dependencies can cause optimization bailouts.
3:40:32 AM: For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
3:40:32 AM: 
3:40:32 AM: Warning: /opt/build/repo/src/app/helpers/scroll-to-top/scroll-to-top.component.ts depends on 'jquery'. CommonJS or AMD dependencies can cause optimization bailouts.
3:40:32 AM: For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Please help me with this.

Prerendering routes to /opt/build/repo/dist/spotbie/browser failed.
12:04:30 AM: Method Promise.prototype.then called on incompatible receiver [object Object]

Full log

12:02:39 AM: Build ready to start
12:02:57 AM: build-image version: 9289b698a503f132b265bd089ab40ce1d6f9e65e (focal)
12:02:57 AM: build-image tag: v4.12.0
12:02:57 AM: buildbot version: 2510ae842d7cc96532da2c05a74ba836f3e7f056
12:02:57 AM: Fetching cached dependencies
12:02:57 AM: Starting to download cache of 589.8MB
12:03:03 AM: Finished downloading cache in 5.249388818s
12:03:03 AM: Starting to extract cache
12:03:06 AM: Finished extracting cache in 3.067673046s
12:03:06 AM: Finished fetching cache in 8.397597436s
12:03:06 AM: Starting to prepare the repo for build
12:03:06 AM: Preparing Git Reference refs/heads/spotbie-staging
12:03:07 AM: Parsing package.json dependencies
12:03:08 AM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'functions' versus './functions' in the Netlify UI
12:03:08 AM: Different build command detected, going to use the one specified in the Netlify configuration file: 'npm run prerender' versus 'ng build --configuration production --output-hashing=all && ng run spotbie:server:production' in the Netlify UI
12:03:09 AM: Starting build script
12:03:09 AM: Installing dependencies
12:03:09 AM: Python version set to 2.7
12:03:09 AM: Started restoring cached node version
12:03:09 AM: Finished restoring cached node version
12:03:10 AM: Downloading and installing node v16.18.0...
12:03:10 AM: Downloading https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.xz...
12:03:10 AM: Computing checksum with sha256sum
12:03:10 AM: Checksums matched!
12:03:12 AM: Now using node v16.18.0 (npm v8.19.2)
12:03:12 AM: Started restoring cached build plugins
12:03:12 AM: Finished restoring cached build plugins
12:03:12 AM: Attempting ruby version 2.7.2, read from environment
12:03:13 AM: Using ruby version 2.7.2
12:03:13 AM: Using PHP version 8.0
12:03:13 AM: No npm workspaces detected
12:03:13 AM: Started restoring cached node modules
12:03:14 AM: Finished restoring cached node modules
12:03:14 AM: Installing NPM modules using NPM version 8.19.2
12:03:14 AM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
12:03:14 AM: npm WARN config location in the cache, and they are managed by
12:03:14 AM: npm WARN config     [`cacache`](http://npm.im/cacache).
12:03:14 AM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
12:03:14 AM: npm WARN config location in the cache, and they are managed by
12:03:14 AM: npm WARN config     [`cacache`](http://npm.im/cacache).
12:03:16 AM: removed 1 package, changed 1 package, and audited 1331 packages in 2s
12:03:16 AM: 120 packages are looking for funding
12:03:16 AM:   run `npm fund` for details
12:03:17 AM: 7 vulnerabilities (2 moderate, 5 high)
12:03:17 AM: To address issues that do not require attention, run:
12:03:17 AM:   npm audit fix
12:03:17 AM: To address all issues (including breaking changes), run:
12:03:17 AM:   npm audit fix --force
12:03:17 AM: Run `npm audit` for details.
12:03:17 AM: NPM modules installed
12:03:17 AM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
12:03:17 AM: npm WARN config location in the cache, and they are managed by
12:03:17 AM: npm WARN config     [`cacache`](http://npm.im/cacache).
12:03:17 AM: Started restoring cached go cache
12:03:17 AM: Finished restoring cached go cache
12:03:17 AM: Installing Go version 1.16.5 (requested 1.16.5)
12:03:20 AM: unset GOOS;
12:03:20 AM: unset GOARCH;
12:03:20 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64';
12:03:20 AM: export PATH="/opt/buildhome/.gimme/versions/go1.16.5.linux.amd64/bin:${PATH}";
12:03:20 AM: go version >&2;
12:03:20 AM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.16.5.linux.amd64.env"
12:03:20 AM: go version go1.16.5 linux/amd64
12:03:20 AM: Installing missing commands
12:03:20 AM: Verify run directory
12:03:22 AM: ​
12:03:22 AM: ────────────────────────────────────────────────────────────────
12:03:22 AM:   Netlify Build                                                 
12:03:22 AM: ────────────────────────────────────────────────────────────────
12:03:22 AM: ​
12:03:22 AM: ❯ Version
12:03:22 AM:   @netlify/build 27.20.6
12:03:22 AM: ​
12:03:22 AM: ❯ Flags
12:03:22 AM:   baseRelDir: true
12:03:22 AM:   buildId: 634e255f2936fc00078067cb
12:03:22 AM:   deployId: 634e255f2936fc00078067cd
12:03:22 AM: ​
12:03:22 AM: ❯ Current directory
12:03:22 AM:   /opt/build/repo
12:03:22 AM: ​
12:03:22 AM: ❯ Config file
12:03:22 AM:   /opt/build/repo/netlify.toml
12:03:22 AM: ​
12:03:22 AM: ❯ Context
12:03:22 AM:   production
12:03:22 AM: ​
12:03:22 AM: ────────────────────────────────────────────────────────────────
12:03:22 AM:   1. build.command from netlify.toml                            
12:03:22 AM: ────────────────────────────────────────────────────────────────
12:03:22 AM: ​
12:03:22 AM: $ npm run prerender
12:03:22 AM: npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
12:03:22 AM: npm WARN config location in the cache, and they are managed by
12:03:22 AM: npm WARN config     [`cacache`](http://npm.im/cacache).
12:03:22 AM: > spotbie@1.0.2 prerender
12:03:22 AM: > ng run spotbie:prerender
12:03:26 AM: Unable to extract routes from application.
12:03:27 AM: - Generating server application bundles (phase: setup)...
12:03:27 AM: - Generating browser application bundles (phase: setup)...
12:04:28 AM: βœ” Browser application bundle generation complete.
12:04:28 AM: βœ” Browser application bundle generation complete.
12:04:28 AM: - Copying assets...
12:04:28 AM: βœ” Copying assets complete.
12:04:28 AM: - Generating index html...
12:04:28 AM: - Generating index html...
12:04:28 AM: 2 rules skipped due to selector errors:
12:04:28 AM:   legend+* -> Cannot read properties of undefined (reading 'type')
12:04:28 AM:   .table>>>* -> Did not expect successive traversals.
12:04:28 AM: βœ” Index html generation complete.
12:04:28 AM: Initial Chunk Files           | Names                    |  Raw Size | Estimated Transfer Size
12:04:28 AM: main.c576b6c2871dbcff.js      | main                     |   1.80 MB |               368.03 kB
12:04:28 AM: styles.24b55ab52e6442f9.css   | styles                   | 344.20 kB |                42.33 kB
12:04:28 AM: scripts.b4fa07820ec355b6.js   | scripts                  |  65.52 kB |                16.49 kB
12:04:28 AM: polyfills.be82455f66c99a0d.js | polyfills                |  44.99 kB |                13.83 kB
12:04:28 AM: runtime.8b7a9216fe8326f8.js   | runtime                  |   2.71 kB |                 1.26 kB
12:04:28 AM: 
12:04:28 AM:                               | Initial Total            |   2.25 MB |               441.94 kB
12:04:28 AM: 
12:04:28 AM: Lazy Chunk Files              | Names                    |  Raw Size | Estimated Transfer Size
12:04:28 AM: 45.53ad7e65770adb69.js        | business-business-module |   2.08 kB |               975 bytes
12:04:28 AM: 
12:04:28 AM: Build at: 2022-10-18T04:04:28.478Z - Hash: 6e9bedcd4a50447a - Time: 60730ms
12:04:28 AM: 
12:04:28 AM: ./src/assets/bootstrap/css/bootstrap.min.css.webpack[javascript/auto]!=!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].rules[0].oneOf[0].use[2]!./src/assets/bootstrap/css/bootstrap.min.css - Warning: Module Warning (from ./node_modules/postcss-loader/dist/cjs.js):
12:04:28 AM: Warning
12:04:28 AM: 
12:04:28 AM: (6:27710) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
12:04:28 AM: 
12:04:28 AM: Warning: /opt/build/repo/src/app/spotbie/map/info-object/info-object.component.css exceeded maximum budget. Budget 6.00 kB was not met by 742 bytes with a total of 6.72 kB.
12:04:28 AM: 
12:04:28 AM: Warning: /opt/build/repo/src/app/spotbie/map/map.component.css exceeded maximum budget. Budget 6.00 kB was not met by 12.60 kB with a total of 18.60 kB.
12:04:28 AM: 
12:04:28 AM: Warning: /opt/build/repo/src/app/spotbie/menu.component.css exceeded maximum budget. Budget 6.00 kB was not met by 3.17 kB with a total of 9.17 kB.
12:04:28 AM: 
12:04:28 AM: Warning: /opt/build/repo/src/app/spotbie/spotbie-logged-in/settings/settings.component.css exceeded maximum budget. Budget 6.00 kB was not met by 432 bytes with a total of 6.42 kB.
12:04:28 AM: 
12:04:28 AM: Warning: bundle initial exceeded maximum budget. Budget 2.00 MB was not met by 252.69 kB with a total of 2.25 MB.
12:04:28 AM: 
12:04:28 AM: 
12:04:29 AM: βœ” Server application bundle generation complete.
12:04:29 AM: βœ” Server application bundle generation complete.
12:04:29 AM: Initial Chunk Files | Names                    | Raw Size
12:04:29 AM: main.js             | main                     |  5.94 MB | 
12:04:29 AM: 
12:04:29 AM:                     | Initial Total            |  5.94 MB
12:04:29 AM: 
12:04:29 AM: Lazy Chunk Files    | Names                    | Raw Size
12:04:29 AM: 45.js               | business-business-module |  3.79 kB | 
12:04:29 AM: 
12:04:29 AM: Build at: 2022-10-18T04:04:29.364Z - Hash: 7f0a5faa533b904b - Time: 61630ms
12:04:29 AM: - Prerendering 1 route(s) to /opt/build/repo/dist/spotbie/browser...
12:04:30 AM: βœ– Prerendering routes to /opt/build/repo/dist/spotbie/browser failed.
12:04:30 AM: Method Promise.prototype.then called on incompatible receiver [object Object]
12:04:31 AM: ​
12:04:31 AM: ────────────────────────────────────────────────────────────────
12:04:31 AM:   "build.command" failed                                        
12:04:31 AM: ────────────────────────────────────────────────────────────────
12:04:31 AM: ​
12:04:31 AM:   Error message
12:04:31 AM:   Command failed with exit code 1: npm run prerender (https://ntl.fyi/exit-code-1)
12:04:31 AM: ​
12:04:31 AM:   Error location
12:04:31 AM:   In build.command from netlify.toml:
12:04:31 AM:   npm run prerender
12:04:31 AM: ​
12:04:31 AM:   Resolved config
12:04:31 AM:   build:
12:04:31 AM:     command: npm run prerender
12:04:31 AM:     commandOrigin: config
12:04:31 AM:     publish: /opt/build/repo/dist/spotbie/browser
12:04:31 AM:     publishOrigin: config
12:04:31 AM:   functionsDirectory: /opt/build/repo/functions
12:04:31 AM: Caching artifacts
12:04:31 AM: Started saving node modules
12:04:31 AM: Finished saving node modules
12:04:31 AM: Started saving build plugins
12:04:31 AM: Finished saving build plugins
12:04:31 AM: Started saving pip cache
12:04:31 AM: Finished saving pip cache
12:04:31 AM: Started saving emacs cask dependencies
12:04:31 AM: Finished saving emacs cask dependencies
12:04:31 AM: Started saving maven dependencies
12:04:31 AM: Finished saving maven dependencies
12:04:31 AM: Started saving boot dependencies
12:04:31 AM: Finished saving boot dependencies
12:04:31 AM: Started saving rust rustup cache
12:04:31 AM: Finished saving rust rustup cache
12:04:31 AM: Started saving go dependencies
12:04:31 AM: Finished saving go dependencies
12:04:32 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:04:32 AM: Creating deploy upload records
12:04:32 AM: Failing build: Failed to build site
12:04:32 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
12:04:33 AM: Finished processing build request in 1m35.30619162s```

@hillary @hrishikesh

Hey there, @maindedeux :wave:

Can you please describe the obstacle you are encountering?

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!

@hillary Like the OP said and as I mentioned on my first post:

Prerendering routes to /opt/build/repo/dist/spotbie/browser failed.
12:04:30 AM: Method Promise.prototype.then called on incompatible receiver [object Object]

I’m getting this message from the Netlify build logs whenever I run the CI build on Netlify.

Two weeks ago I was able to deploy with no issues. This is the same issue OP is having.

If I run β€œnpm run prerender” locally then it builds without any problems and I’m able to upload my build successfully. However this breaks the CI flow I had set up.

@hrishikesh

It looks like your code is trying to access the window object: Netlify App and that’s unavailable.

Looking at some GitHub threads, it appears that there were some issues like these in the past: Promise.prototype.then called on incompatible receiver in Chrome 77.0.3865.90 Β· Issue #32802 Β· angular/angular Β· GitHub

Is your code relying on a browser being installed?

Hi Hrishikesh,

I have the same issues as others mentioned above. I made sure that the window object and http client are only accessed when the app actually runs in the browser.

Do you have any other hints on what could be the issue?

Cheers

Hi there, I was able to solve my issue by downgrading the node version used for my project to 16.17.1.

You can do this by creating a file claled β€œ.nvmrc” in your project root and writing simple β€œ16.17.1” in there. I found this on https://reactgo.com/netlify-specify-node-version/

Hope this helps someone

Hey there, @SpraylnlPray :wave:

Thanks so much for taking the time to come back and share your solution! We appreciate it. This will help future Forums members who encounter something similar.

1 Like