Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to deplot to heroku #14

Open
kakamband opened this issue Sep 22, 2020 · 2 comments
Open

failed to deplot to heroku #14

kakamband opened this issue Sep 22, 2020 · 2 comments

Comments

@kakamband
Copy link

-----> Node.js app detected

-----> Creating runtime environment

   NPM_CONFIG_LOGLEVEL=error

   NODE_ENV=production

   NODE_MODULES_CACHE=true

   NODE_VERBOSE=false

-----> Installing binaries

   engines.node (package.json):  10.13.0

   engines.npm (package.json):   6.4.1

   

   Resolving node version 10.13.0...

   Downloading and installing node 10.13.0...

   npm 6.4.1 already installed with node

-----> Installing dependencies

   Installing node modules

   

   > [email protected] install /tmp/build_2a621973_/node_modules/kexec

   > node-gyp rebuild

   

   make: Entering directory '/tmp/build_2a621973_/node_modules/kexec/build'

     CXX(target) Release/obj.target/kexec/src/kexec.o

   ../src/kexec.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE kexec(Nan::NAN_METHOD_ARGS_TYPE)’:

   ../src/kexec.cc:68:38: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]

            String::Utf8Value str(info[0]);

                                         ^

   In file included from /app/.node-gyp/10.13.0/include/node/v8.h:26:0,

                    from /app/.node-gyp/10.13.0/include/node/node.h:63,

                    from ../../nan/nan.h:54,

                    from ../src/kexec.cc:14:

   /app/.node-gyp/10.13.0/include/node/v8.h:2892:28: note: declared here

                      explicit Utf8Value(Local<v8::Value> obj));

                               ^

   /app/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’

      declarator __attribute__((deprecated(message)))

      ^~~~~~~~~~

   ../src/kexec.cc:78:38: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]

            String::Utf8Value str(info[0]);

                                         ^

   In file included from /app/.node-gyp/10.13.0/include/node/v8.h:26:0,

                    from /app/.node-gyp/10.13.0/include/node/node.h:63,

                    from ../../nan/nan.h:54,

                    from ../src/kexec.cc:14:

   /app/.node-gyp/10.13.0/include/node/v8.h:2892:28: note: declared here

                      explicit Utf8Value(Local<v8::Value> obj));

                               ^

   /app/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’

      declarator __attribute__((deprecated(message)))

      ^~~~~~~~~~

   ../src/kexec.cc:91:84: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]

                String::Utf8Value arg(argv_handle->Get(Nan::New<Integer>(i))->ToString());

                                                                                       ^

   In file included from /app/.node-gyp/10.13.0/include/node/node.h:63:0,

                    from ../../nan/nan.h:54,

                    from ../src/kexec.cc:14:

   /app/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here

    Local<String> Value::ToString() const {

                  ^~~~~

   ../src/kexec.cc:91:85: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]

                String::Utf8Value arg(argv_handle->Get(Nan::New<Integer>(i))->ToString());

                                                                                        ^

   In file included from /app/.node-gyp/10.13.0/include/node/v8.h:26:0,

                    from /app/.node-gyp/10.13.0/include/node/node.h:63,

                    from ../../nan/nan.h:54,

                    from ../src/kexec.cc:14:

   /app/.node-gyp/10.13.0/include/node/v8.h:2892:28: note: declared here

                      explicit Utf8Value(Local<v8::Value> obj));

                               ^

   /app/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’

      declarator __attribute__((deprecated(message)))

      ^~~~~~~~~~

     SOLINK_MODULE(target) Release/obj.target/kexec.node

     COPY Release/kexec.node

   make: Leaving directory '/tmp/build_2a621973_/node_modules/kexec/build'

   added 15 packages in 6.308s

-----> Build

   Running build

   

   > [email protected] build /tmp/build_2a621973_

   > cd etherpad-lite/src && npm install

sh: 1: cd: can't cd to etherpad-lite/src

npm ERR! code ELIFECYCLE

npm ERR! errno 2

npm ERR! [email protected] build: cd etherpad-lite/src && npm install

npm ERR! Exit status 2

npm ERR!

npm ERR! Failed at the [email protected] build script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR! /tmp/npmcache.EStcq/_logs/2020-09-22T17_07_43_569Z-debug.log

-----> Build failed

   We're sorry this build is failing! You can troubleshoot common issues here:

   https://devcenter.heroku.com/articles/troubleshooting-node-deploys

   

   If you're stuck, please submit a ticket so we can help:

   https://help.heroku.com/

   

   Love,

   Heroku

! Push rejected, failed to compile Node.js app.

! Push failed

@tiblu
Copy link
Member

tiblu commented Apr 7, 2021

@kakamband Sorry for long delay? Did you manage to get it working?

@tiblu
Copy link
Member

tiblu commented Sep 27, 2021

@kakamband Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants