Created
December 8, 2020 13:55
-
-
Save tjkhara/1bb4a04e0f6d016324935ecfb5c83745 to your computer and use it in GitHub Desktop.
Heroku deploy error for task manager api
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tkhara@pop-os:~/envs/javascript_envs/task-manager$ git push heroku main | |
| Enumerating objects: 19, done. | |
| Counting objects: 100% (19/19), done. | |
| Delta compression using up to 4 threads | |
| Compressing objects: 100% (15/15), done. | |
| Writing objects: 100% (19/19), 38.52 KiB | 2.41 MiB/s, done. | |
| Total 19 (delta 0), reused 0 (delta 0) | |
| remote: Compressing source files... done. | |
| remote: Building source: | |
| remote: | |
| remote: -----> Node.js app detected | |
| remote: | |
| remote: -----> Creating runtime environment | |
| remote: | |
| remote: NPM_CONFIG_LOGLEVEL=error | |
| remote: NODE_ENV=production | |
| remote: NODE_MODULES_CACHE=true | |
| remote: NODE_VERBOSE=false | |
| remote: | |
| remote: -----> Installing binaries | |
| remote: engines.node (package.json): unspecified | |
| remote: engines.npm (package.json): unspecified (use default) | |
| remote: | |
| remote: Resolving node version 12.x... | |
| remote: Downloading and installing node 12.20.0... | |
| remote: Using default npm version: 6.14.8 | |
| remote: | |
| remote: -----> Installing dependencies | |
| remote: Installing node modules | |
| remote: | |
| remote: > sharp@0.21.1 install /tmp/build_0bc205db/node_modules/sharp | |
| remote: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) | |
| remote: | |
| remote: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.0/libvips-8.7.0-linux-x64.tar.gz | |
| remote: make: Entering directory '/tmp/build_0bc205db/node_modules/sharp/build' | |
| remote: TOUCH Release/obj.target/libvips-cpp.stamp | |
| remote: CXX(target) Release/obj.target/sharp/src/common.o | |
| remote: In file included from ../src/common.cc:27:0: | |
| remote: ../src/common.h:78:20: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:78:37: error: expected primary-expression before ‘>’ token | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^ | |
| remote: ../src/common.h:78:39: error: ‘obj’ was not declared in this scope | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~ | |
| remote: ../src/common.h:78:56: error: expected primary-expression before ‘attr’ | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~ | |
| remote: ../src/common.h:78:60: error: expression list treated as compound expression in initializer [-fpermissive] | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^ | |
| remote: ../src/common.h:79:29: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:79:46: error: expected primary-expression before ‘>’ token | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^ | |
| remote: ../src/common.h:79:48: error: ‘obj’ was not declared in this scope | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~ | |
| remote: ../src/common.h:79:65: error: expected primary-expression before ‘attr’ | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~ | |
| remote: ../src/common.h:80:38: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:80:55: error: expected primary-expression before ‘>’ token | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^ | |
| remote: ../src/common.h:80:57: error: ‘obj’ was not declared in this scope | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~ | |
| remote: ../src/common.h:80:74: error: expected primary-expression before ‘attr’ | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~ | |
| remote: ../src/common.h:81:48: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:81:65: error: expected primary-expression before ‘>’ token | |
| remote: template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^ | |
| remote: ../src/common.h:81:67: error: ‘obj’ was not declared in this scope | |
| remote: template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~ | |
| remote: ../src/common.h:81:84: error: expected primary-expression before ‘attr’ | |
| remote: template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~ | |
| remote: ../src/common.h:81:37: warning: variable templates only available with -std=c++14 or -std=gnu++14 | |
| remote: template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:81:90: error: expected ‘;’ before ‘{’ token | |
| remote: template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^ | |
| remote: ../src/common.h:84:37: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:84:54: error: expected primary-expression before ‘>’ token | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^ | |
| remote: ../src/common.h:84:56: error: ‘obj’ was not declared in this scope | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~ | |
| remote: ../src/common.h:84:73: error: expected primary-expression before ‘attr’ | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~ | |
| remote: ../src/common.h:84:26: warning: variable templates only available with -std=c++14 or -std=gnu++14 | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:84:79: error: expected ‘;’ before ‘{’ token | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^ | |
| remote: ../src/common.h:87:37: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:87:54: error: expected primary-expression before ‘>’ token | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) { | |
| remote: ^ | |
| remote: ../src/common.h:87:56: error: ‘obj’ was not declared in this scope | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) { | |
| remote: ^~~ | |
| remote: ../src/common.h:87:61: error: expected primary-expression before ‘int’ | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) { | |
| remote: ^~~ | |
| remote: ../src/common.h:84:26: warning: variable templates only available with -std=c++14 or -std=gnu++14 | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:87:71: error: expected ‘;’ before ‘{’ token | |
| remote: template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) { | |
| remote: ^ | |
| remote: ../src/common.h:93:9: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); | |
| remote: ^~~~~~ | |
| remote: ../src/common.h:93:26: error: expected primary-expression before ‘>’ token | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); | |
| remote: ^ | |
| remote: ../src/common.h:93:28: error: ‘input’ was not declared in this scope | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); | |
| remote: ^~~~~ | |
| remote: ../src/common.h:93:28: note: suggested alternative: ‘ino_t’ | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); | |
| remote: ^~~~~ | |
| remote: ino_t | |
| remote: ../src/common.h:93:70: error: expected primary-expression before ‘&’ token | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); | |
| remote: ^ | |
| remote: ../src/common.h:93:71: error: ‘buffersToPersist’ was not declared in this scope | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); | |
| remote: ^~~~~~~~~~~~~~~~ | |
| remote: ../src/common.h:93:87: error: expression list treated as compound expression in initializer [-fpermissive] | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist); | |
| remote: ^ | |
| remote: ../src/common.cc:34:20: error: redefinition of ‘bool sharp::HasAttr’ | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: In file included from ../src/common.cc:27:0: | |
| remote: ../src/common.h:78:8: note: ‘bool sharp::HasAttr’ previously defined here | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~~~~ | |
| remote: ../src/common.cc:34:20: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.cc:34:37: error: expected primary-expression before ‘>’ token | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^ | |
| remote: ../src/common.cc:34:39: error: ‘obj’ was not declared in this scope | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~ | |
| remote: ../src/common.cc:34:56: error: expected primary-expression before ‘attr’ | |
| remote: bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~ | |
| remote: ../src/common.cc:37:29: error: redefinition of ‘std::string sharp::AttrAsStr’ | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: In file included from ../src/common.cc:27:0: | |
| remote: ../src/common.h:79:15: note: ‘std::string sharp::AttrAsStr’ previously declared here | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~~~~~~ | |
| remote: ../src/common.cc:37:29: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.cc:37:46: error: expected primary-expression before ‘>’ token | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^ | |
| remote: ../src/common.cc:37:48: error: ‘obj’ was not declared in this scope | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~ | |
| remote: ../src/common.cc:37:65: error: expected primary-expression before ‘attr’ | |
| remote: std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~ | |
| remote: ../src/common.cc:40:38: error: redefinition of ‘std::vector<double> sharp::AttrAsRgba’ | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: In file included from ../src/common.cc:27:0: | |
| remote: ../src/common.h:80:23: note: ‘std::vector<double> sharp::AttrAsRgba’ previously declared here | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
| remote: ^~~~~~~~~~ | |
| remote: ../src/common.cc:40:38: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~~~ | |
| remote: ../src/common.cc:40:55: error: expected primary-expression before ‘>’ token | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^ | |
| remote: ../src/common.cc:40:57: error: ‘obj’ was not declared in this scope | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~ | |
| remote: ../src/common.cc:40:74: error: expected primary-expression before ‘attr’ | |
| remote: std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) { | |
| remote: ^~~~ | |
| remote: ../src/common.cc:51:9: error: redefinition of ‘sharp::InputDescriptor* sharp::CreateInputDescriptor’ | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist | |
| remote: ^~~~~~ | |
| remote: In file included from ../src/common.cc:27:0: | |
| remote: ../src/common.h:92:20: note: ‘sharp::InputDescriptor* sharp::CreateInputDescriptor’ previously defined here | |
| remote: InputDescriptor* CreateInputDescriptor( | |
| remote: ^~~~~~~~~~~~~~~~~~~~~ | |
| remote: ../src/common.cc:51:9: error: ‘Handle’ is not a member of ‘v8’ | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist | |
| remote: ^~~~~~ | |
| remote: ../src/common.cc:51:26: error: expected primary-expression before ‘>’ token | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist | |
| remote: ^ | |
| remote: ../src/common.cc:51:28: error: ‘input’ was not declared in this scope | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist | |
| remote: ^~~~~ | |
| remote: ../src/common.cc:51:28: note: suggested alternative: ‘ino_t’ | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist | |
| remote: ^~~~~ | |
| remote: ino_t | |
| remote: ../src/common.cc:51:70: error: expected primary-expression before ‘&’ token | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist | |
| remote: ^ | |
| remote: ../src/common.cc:51:71: error: ‘buffersToPersist’ was not declared in this scope | |
| remote: v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist | |
| remote: ^~~~~~~~~~~~~~~~ | |
| remote: cc1plus: warning: unrecognized command line option ‘-Wno-cast-function-type’ | |
| remote: sharp.target.mk:138: recipe for target 'Release/obj.target/sharp/src/common.o' failed | |
| remote: make: *** [Release/obj.target/sharp/src/common.o] Error 1 | |
| remote: make: Leaving directory '/tmp/build_0bc205db/node_modules/sharp/build' | |
| remote: gyp ERR! build error | |
| remote: gyp ERR! stack Error: `make` failed with exit code: 2 | |
| remote: gyp ERR! stack at ChildProcess.onExit (/tmp/build_0bc205db/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) | |
| remote: gyp ERR! stack at ChildProcess.emit (events.js:314:20) | |
| remote: gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) | |
| remote: gyp ERR! System Linux 4.4.0-1081-aws | |
| remote: gyp ERR! command "/tmp/build_0bc205db/.heroku/node/bin/node" "/tmp/build_0bc205db/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
| remote: gyp ERR! cwd /tmp/build_0bc205db/node_modules/sharp | |
| remote: gyp ERR! node -v v12.20.0 | |
| remote: gyp ERR! node-gyp -v v5.1.0 | |
| remote: gyp ERR! not ok | |
| remote: npm ERR! code ELIFECYCLE | |
| remote: npm ERR! errno 1 | |
| remote: npm ERR! sharp@0.21.1 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)` | |
| remote: npm ERR! Exit status 1 | |
| remote: npm ERR! | |
| remote: npm ERR! Failed at the sharp@0.21.1 install script. | |
| remote: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
| remote: | |
| remote: npm ERR! A complete log of this run can be found in: | |
| remote: npm ERR! /tmp/npmcache.b64h7/_logs/2020-12-08T13_50_29_143Z-debug.log | |
| remote: | |
| remote: -----> Build failed | |
| remote: | |
| remote: We're sorry this build is failing! You can troubleshoot common issues here: | |
| remote: https://devcenter.heroku.com/articles/troubleshooting-node-deploys | |
| remote: | |
| remote: Some possible problems: | |
| remote: | |
| remote: - Node version not specified in package.json | |
| remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version | |
| remote: | |
| remote: Love, | |
| remote: Heroku | |
| remote: | |
| remote: ! Push rejected, failed to compile Node.js app. | |
| remote: | |
| remote: ! Push failed | |
| remote: Verifying deploy... | |
| remote: | |
| remote: ! Push rejected to tjkhara-task-manager-api. | |
| remote: | |
| To https://git.heroku.com/tjkhara-task-manager-api.git | |
| ! [remote rejected] main -> main (pre-receive hook declined) | |
| error: failed to push some refs to 'https://git.heroku.com/tjkhara-task-manager-api.git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment