I have some issue with deploy
[strapi] [2022-02-10 18:36:18] => Initializing build [strapi] [2022-02-10 18:36:18] => Retrieving source code to /workspace [strapi] [2022-02-10 18:36:19] => Selecting branch “main” [strapi] [2022-02-10 18:36:19] => Checking out commit “2be71513464b73e49da9bcd90e64ed28a360a874” [strapi] [2022-02-10 18:36:20] => Got source_dir: / [strapi] [2022-02-10 18:36:20] => Using workspace root /workspace [strapi] [2022-02-10 18:36:20] [strapi] [2022-02-10 18:36:20] => Building app using buildpacks [strapi] [2022-02-10 18:36:20] => Configuring custom build command to be run at the end of the build: [strapi] [2022-02-10 18:36:20] npm run build [strapi] [2022-02-10 18:36:20] => Running buildpack detection [strapi] [2022-02-10 18:36:20] [strapi] [2022-02-10 18:36:21] heroku/nodejs-engine 0.5.0 [strapi] [2022-02-10 18:36:21] digitalocean/node 0.3.4 [strapi] [2022-02-10 18:36:21] digitalocean/procfile 0.0.3 [strapi] [2022-02-10 18:36:21] digitalocean/custom 0.1.0 [strapi] [2022-02-10 18:36:21] [strapi] [2022-02-10 18:36:21] For documentation on the buildpacks used to build your app, please see: [strapi] [2022-02-10 18:36:21] Node.js: https://do.co/apps-buildpack-node [strapi] [2022-02-10 18:36:21] [strapi] [2022-02-10 18:36:21] => Building app [strapi] [2022-02-10 18:36:21] [strapi] [2022-02-10 18:36:21] —> Node.js Buildpack [strapi] [2022-02-10 18:36:21] —> Installing toolbox [strapi] [2022-02-10 18:36:21] —> - jq [strapi] [2022-02-10 18:36:22] —> - yj [strapi] [2022-02-10 18:36:22] —> Getting Node version [strapi] [2022-02-10 18:36:22] —> Resolving Node version [strapi] [2022-02-10 18:36:23] —> Downloading and extracting Node v17.4.0 [strapi] [2022-02-10 18:36:40] —> Parsing package.json [strapi] [2022-02-10 18:36:41] —> No file to start server [strapi] [2022-02-10 18:36:41] —> either use ‘docker run’ to start container or add index.js or server.js [strapi] [2022-02-10 18:36:41] Project contains package-lock.json, using npm [strapi] [2022-02-10 18:36:41] Using npm v8.3.1 matching the requested version range “>=6.0.0” in package.json->engines.npm [strapi] [2022-02-10 18:36:41] Installing node_modules using npm (from package-lock.json) [strapi] [2022-02-10 18:36:42] Running npm ci [strapi] [2022-02-10 18:36:42] [strapi] [2022-02-10 18:36:44] npm WARN EBADENGINE Unsupported engine { [strapi] [2022-02-10 18:36:44] npm WARN EBADENGINE package: ‘@casl/ability@4.1.6’, [strapi] [2022-02-10 18:36:44] npm WARN EBADENGINE required: { npm: ‘^6.0.0’ }, [strapi] [2022-02-10 18:36:44] npm WARN EBADENGINE current: { node: ‘v17.4.0’, npm: ‘8.3.1’ } [strapi] [2022-02-10 18:36:44] npm WARN EBADENGINE } [strapi] [2022-02-10 18:36:57] npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated [strapi] [2022-02-10 18:37:01] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated [strapi] [2022-02-10 18:37:02] npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. [strapi] [2022-02-10 18:37:05] npm WARN deprecated mailcomposer@3.12.0: This project is unmaintained [strapi] [2022-02-10 18:37:06] npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 [strapi] [2022-02-10 18:37:07] npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. [strapi] [2022-02-10 18:37:08] npm WARN deprecated har-validator@5.1.5: this library is no longer supported [strapi] [2022-02-10 18:37:09] npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau [strapi] [2022-02-10 18:37:09] npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future [strapi] [2022-02-10 18:37:10] npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported [strapi] [2022-02-10 18:37:12] npm WARN deprecated boom@7.3.0: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. [strapi] [2022-02-10 18:37:13] npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) [strapi] [2022-02-10 18:37:14] npm WARN deprecated buildmail@3.10.0: This project is unmaintained [strapi] [2022-02-10 18:37:16] npm WARN deprecated intl-messageformat-parser@5.5.1: We’ve written a new parser that’s 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser [strapi] [2022-02-10 18:37:19] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:20] npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information. [strapi] [2022-02-10 18:37:20] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:20] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:20] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:21] npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 [strapi] [2022-02-10 18:37:21] npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. [strapi] [2022-02-10 18:37:21] npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. [strapi] [2022-02-10 18:37:21] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:21] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:21] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:22] npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. [strapi] [2022-02-10 18:37:25] npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 [strapi] [2022-02-10 18:37:40] npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. [strapi] [2022-02-10 18:37:47] npm WARN deprecated @formatjs/intl-unified-numberformat@3.3.7: We have renamed the package to @formatjs/intl-numberformat [strapi] [2022-02-10 18:38:22] npm notice [strapi] [2022-02-10 18:38:22] npm notice New minor version of npm available! 8.3.1 -> 8.4.1 [strapi] [2022-02-10 18:38:22] npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.4.1 [strapi] [2022-02-10 18:38:22] npm notice Run npm install -g npm@8.4.1
to update! [strapi] [2022-02-10 18:38:22] npm notice [strapi] [2022-02-10 18:38:22] npm ERR! code 1 [strapi] [2022-02-10 18:38:22] npm ERR! path /workspace/node_modules/sharp [strapi] [2022-02-10 18:38:22] npm ERR! command failed [strapi] [2022-02-10 18:38:22] npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) [strapi] [2022-02-10 18:38:22] npm ERR! make: Entering directory ‘/workspace/node_modules/sharp/build’ [strapi] [2022-02-10 18:38:22] npm ERR! TOUCH Release/obj.target/libvips-cpp.stamp [strapi] [2022-02-10 18:38:22] npm ERR! CXX(target) Release/obj.target/sharp/src/common.o [strapi] [2022-02-10 18:38:22] npm ERR! sharp.target.mk:139: recipe for target ‘Release/obj.target/sharp/src/common.o’ failed [strapi] [2022-02-10 18:38:22] npm ERR! make: Leaving directory ‘/workspace/node_modules/sharp/build’ [strapi] [2022-02-10 18:38:22] npm ERR! info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.0/libvips-8.9.0-linux-x64.tar.gz [strapi] [2022-02-10 18:38:22] npm ERR! gyp info it worked if it ends with ok [strapi] [2022-02-10 18:38:22] npm ERR! gyp info using node-gyp@8.4.1 [strapi] [2022-02-10 18:38:22] npm ERR! gyp info using node@17.4.0 | linux | x64 [strapi] [2022-02-10 18:38:22] npm ERR! gyp info find Python using Python version 3.6.9 found at “/usr/bin/python3” [strapi] [2022-02-10 18:38:22] npm ERR! gyp http GET https://nodejs.org/download/release/v17.4.0/node-v17.4.0-headers.tar.gz [strapi] [2022-02-10 18:38:22] npm ERR! gyp http 200 https://nodejs.org/download/release/v17.4.0/node-v17.4.0-headers.tar.gz [strapi] [2022-02-10 18:38:22] npm ERR! gyp http GET https://nodejs.org/download/release/v17.4.0/SHASUMS256.txt [strapi] [2022-02-10 18:38:22] npm ERR! gyp http 200 https://nodejs.org/download/release/v17.4.0/SHASUMS256.txt [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn /usr/bin/python3 [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args [ [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘/layers/heroku_nodejs-engine/nodejs/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘binding.gyp’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-f’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘make’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-I’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘/workspace/node_modules/sharp/build/config.gypi’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-I’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘/layers/heroku_nodejs-engine/nodejs/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-I’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘/home/apps/.cache/node-gyp/17.4.0/include/node/common.gypi’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Dlibrary=shared_library’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Dvisibility=default’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Dnode_root_dir=/home/apps/.cache/node-gyp/17.4.0’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Dnode_gyp_dir=/layers/heroku_nodejs-engine/nodejs/lib/node_modules/npm/node_modules/node-gyp’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Dnode_lib_file=/home/apps/.cache/node-gyp/17.4.0/<(target_arch)/node.lib’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Dmodule_root_dir=/workspace/node_modules/sharp’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Dnode_engine=v8’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘–depth=.’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘–no-parallel’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘–generator-output’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘build’, [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ‘-Goutput_dir=.’ [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args ] [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn make [strapi] [2022-02-10 18:38:22] npm ERR! gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ] [strapi] [2022-02-10 18:38:22] npm ERR! <command-line>:0:0: warning: “_GLIBCXX_USE_CXX11_ABI” redefined [strapi] [2022-02-10 18:38:22] npm ERR! <command-line>:0:0: note: this is the location of the previous definition [strapi] [2022-02-10 18:38:22] npm ERR! In file included from /home/apps/.cache/node-gyp/17.4.0/include/node/v8-local-handle.h:12:0, [strapi] [2022-02-10 18:38:22] npm ERR! from /home/apps/.cache/node-gyp/17.4.0/include/node/v8-array-buffer.h:12, [strapi] [2022-02-10 18:38:22] npm ERR! from /home/apps/.cache/node-gyp/17.4.0/include/node/v8.h:25, [strapi] [2022-02-10 18:38:22] npm ERR! from /home/apps/.cache/node-gyp/17.4.0/include/node/node.h:63, [strapi] [2022-02-10 18:38:22] npm ERR! from …/src/common.cc:22: [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’: [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h:563:38: error: ‘remove_cv_t’ is not a member of ‘std’ [strapi] [2022-02-10 18:38:22] npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); [strapi] [2022-02-10 18:38:22] npm ERR! ^~~~~~~~~~~ [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h:563:38: note: suggested alternative: ‘remove_cv’ [strapi] [2022-02-10 18:38:22] npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); [strapi] [2022-02-10 18:38:22] npm ERR! ^~~~~~~~~~~ [strapi] [2022-02-10 18:38:22] npm ERR! remove_cv [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h:563:38: error: ‘remove_cv_t’ is not a member of ‘std’ [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h:563:38: note: suggested alternative: ‘remove_cv’ [strapi] [2022-02-10 18:38:22] npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); [strapi] [2022-02-10 18:38:22] npm ERR! ^~~~~~~~~~~ [strapi] [2022-02-10 18:38:22] npm ERR! remove_cv [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h:563:50: error: template argument 2 is invalid [strapi] [2022-02-10 18:38:22] npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); [strapi] [2022-02-10 18:38:22] npm ERR! ^ [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h:563:63: error: ‘::Perform’ has not been declared [strapi] [2022-02-10 18:38:22] npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); [strapi] [2022-02-10 18:38:22] npm ERR! ^~~~~~~ [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.cache/node-gyp/17.4.0/include/node/v8-internal.h:563:63: note: suggested alternative: ‘perror’ [strapi] [2022-02-10 18:38:22] npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); [strapi] [2022-02-10 18:38:22] npm ERR! ^~~~~~~ [strapi] [2022-02-10 18:38:22] npm ERR! perror [strapi] [2022-02-10 18:38:22] npm ERR! At global scope: [strapi] [2022-02-10 18:38:22] npm ERR! cc1plus: warning: unrecognized command line option ‘-Wno-cast-function-type’ [strapi] [2022-02-10 18:38:22] npm ERR! make: *** [Release/obj.target/sharp/src/common.o] Error 1 [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! build error [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! stack Error: make
failed with exit code: 2 [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! stack at ChildProcess.onExit (/layers/heroku_nodejs-engine/nodejs/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:520:28) [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! System Linux 4.4.0 [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! command “/layers/heroku_nodejs-engine/nodejs/bin/node” “/layers/heroku_nodejs-engine/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild” [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! cwd /workspace/node_modules/sharp [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! node -v v17.4.0 [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! node-gyp -v v8.4.1 [strapi] [2022-02-10 18:38:22] npm ERR! gyp ERR! not ok [strapi] [2022-02-10 18:38:22] [strapi] [2022-02-10 18:38:22] npm ERR! A complete log of this run can be found in: [strapi] [2022-02-10 18:38:22] npm ERR! /home/apps/.npm/_logs/2022-02-10T18_36_42_745Z-debug-0.log [strapi] [2022-02-10 18:38:22] [strapi] [2022-02-10 18:38:22] unable to invoke layer creator [strapi] [2022-02-10 18:38:22] installing node_modules: exit status 1 [strapi] [2022-02-10 18:38:22] ERROR: failed to build: exit status 1 [strapi] [2022-02-10 18:38:25] [strapi] [2022-02-10 18:38:25] For documentation on the buildpacks used to build your app, please see: [strapi] [2022-02-10 18:38:25] Node.js: https://do.co/apps-buildpack-node [strapi] [2022-02-10 18:38:25] [strapi] [2022-02-10 18:38:25] ! Build failed (145)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!