gdrive-index icon indicating copy to clipboard operation
gdrive-index copied to clipboard

Unable to make it work!

Open askfriends opened this issue 4 years ago • 11 comments

I followed everything as instructed but i got this error

errorheroku

errorheroku2

btw my token is something like this, is that normal? PS i have modified it for security {"access_token":"wz31.a0AfH6SMBy8oZrkcp9ugRRRvj69CkZZGLZO4vA6zKPACSZsyQZCjpJNz9T7SIqtWlKnBZfgWgMj58Bc6xE-2DK-7FIbROMUsdWH4Q4XeTiFljAeN5-Rr0TRJl7Jw","refresh_token":"1//0dpHqDNLQ0GgwF-L9IrPMy46TDkhdRoJn8Jb-3Mj8UFlgTs4w6Uzjrjap0","scope":"https://www.googleapis.com/auth/drive.metadata.readonly https://www.googleapis.com/auth/drive.file","token_type":"Bearer","expiry_date":15955487544857} and here is the log; 2020-07-24T21:48:16.387348+00:00 app[web.1]: npm ERR! 2020-07-24T21:48:16.387489+00:00 app[web.1]: npm ERR! Failed at the [email protected] start script. 2020-07-24T21:48:16.387608+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-07-24T21:48:16.395581+00:00 app[web.1]: 2020-07-24T21:48:16.395765+00:00 app[web.1]: npm ERR! A complete log of this run can be found in: 2020-07-24T21:48:16.395841+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-07-24T21_48_16_389Z-debug.log 2020-07-24T21:48:16.475161+00:00 heroku[web.1]: Process exited with status 1 2020-07-24T21:48:16.512257+00:00 heroku[web.1]: State changed from starting to crashed 2020-07-24T21:48:17.487049+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=td-index.herokuapp.com request_id=a3afa118-611c-403f-843d-9dc7507df2f6 fwd="39.48.55.105" dyno= connect= service= status=503 bytes= protocol=https 2020-07-24T21:48:18.119515+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=td-index.herokuapp.com request_id=029ad113-0a66-4ffc-a9ba-31c95868cc02 fwd="39.48.55.105" dyno= connect= service= status=503 bytes= protocol=https

askfriends avatar Jul 24 '20 21:07 askfriends

I will need more log from where it says Starting with command npm start. Your token and vars look good try adding AUTH_CODE and set it to 1

patheticGeek avatar Jul 27 '20 11:07 patheticGeek

I will need more log from where it says Starting with command npm start. Your token and vars look good try adding AUTH_CODE and set it to 1

Still same error..

askfriends avatar Jul 27 '20 17:07 askfriends

Goto the logs and then restart the dyno then save the log and send me that.. this contains only the request which is not helpful

patheticGeek avatar Jul 27 '20 19:07 patheticGeek

Goto the logs and then restart the dyno then save the log and send me that.. this contains only the request which is not helpful

2020-07-27T19:51:28.214031+00:00 app[web.1]: npm ERR! 2020-07-27T19:51:28.214269+00:00 app[web.1]: npm ERR! Failed at the [email protected] start script. 2020-07-27T19:51:28.214491+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-07-27T19:51:28.224302+00:00 app[web.1]: 2020-07-27T19:51:28.224556+00:00 app[web.1]: npm ERR! A complete log of this run can be found in: 2020-07-27T19:51:28.224707+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-07-27T19_51_28_216Z-debug.log 2020-07-27T19:51:28.292416+00:00 heroku[web.1]: Process exited with status 1 2020-07-27T19:51:28.334051+00:00 heroku[web.1]: State changed from starting to crashed 2020-07-27T19:51:28.336651+00:00 heroku[web.1]: State changed from crashed to starting 2020-07-27T19:51:28.734669+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=td-index.herokuapp.com request_id=99bc938c-d18c-4878-b659-25111ccc4696 fwd="39.48.59.94" dyno= connect= service= status=503 bytes= protocol=https 2020-07-27T19:51:40.730811+00:00 heroku[web.1]: Starting process with command npm start2020-07-27T19:51:43.991452+00:00 app[web.1]: 2020-07-27T19:51:43.991528+00:00 app[web.1]: > [email protected] start /app 2020-07-27T19:51:43.991530+00:00 app[web.1]: > NODE_ENV=production node index.js 2020-07-27T19:51:43.991530+00:00 app[web.1]: 2020-07-27T19:51:45.510544+00:00 app[web.1]: buffer.js:331 2020-07-27T19:51:45.510590+00:00 app[web.1]: throw new ERR_INVALID_ARG_TYPE( 2020-07-27T19:51:45.510591+00:00 app[web.1]: ^ 2020-07-27T19:51:45.510591+00:00 app[web.1]: 2020-07-27T19:51:45.510592+00:00 app[web.1]: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined 2020-07-27T19:51:45.510593+00:00 app[web.1]: at Function.from (buffer.js:331:9) 2020-07-27T19:51:45.510593+00:00 app[web.1]: at Object.<anonymous> (/app/index.js:11:26) 2020-07-27T19:51:45.510594+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1138:30) 2020-07-27T19:51:45.510594+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) 2020-07-27T19:51:45.510595+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:986:32) 2020-07-27T19:51:45.510595+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:879:14) 2020-07-27T19:51:45.510596+00:00 app[web.1]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) 2020-07-27T19:51:45.510596+00:00 app[web.1]: at internal/main/run_main_module.js:17:47 { 2020-07-27T19:51:45.510596+00:00 app[web.1]: code: 'ERR_INVALID_ARG_TYPE' 2020-07-27T19:51:45.510597+00:00 app[web.1]: } 2020-07-27T19:51:45.543869+00:00 app[web.1]: npm ERR! code ELIFECYCLE 2020-07-27T19:51:45.544330+00:00 app[web.1]: npm ERR! errno 1 2020-07-27T19:51:45.546392+00:00 app[web.1]: npm ERR! [email protected] start:NODE_ENV=production node index.js 2020-07-27T19:51:45.546766+00:00 app[web.1]: npm ERR! Exit status 1 2020-07-27T19:51:45.547170+00:00 app[web.1]: npm ERR! 2020-07-27T19:51:45.547754+00:00 app[web.1]: npm ERR! Failed at the [email protected] start script. 2020-07-27T19:51:45.548157+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-07-27T19:51:45.585247+00:00 app[web.1]: 2020-07-27T19:51:45.588539+00:00 app[web.1]: npm ERR! A complete log of this run can be found in: 2020-07-27T19:51:45.588541+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2020-07-27T19_51_45_561Z-debug.log 2020-07-27T19:51:45.746124+00:00 heroku[web.1]: Process exited with status 1 2020-07-27T19:51:45.841388+00:00 heroku[web.1]: State changed from starting to crashed 2020-07-27T19:51:47.427080+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=td-index.herokuapp.com request_id=35c333f9-fe00-4833-889a-2f4dd6282a42 fwd="39.48.59.94" dyno= connect= service= status=503 bytes= protocol=https

askfriends avatar Jul 27 '20 19:07 askfriends

I think this issue is same as #3 .

viper-adnan avatar Jul 29 '20 05:07 viper-adnan

I think this issue is same as #3 .

any chance to fix it? or we should move on..?

askfriends avatar Jul 29 '20 07:07 askfriends

any way to contact with you?! for fixing the issue...

shakilofficial0 avatar Aug 02 '20 06:08 shakilofficial0

any way to contact with you?! for fixing the issue...

https://t.me/viperadnanXD contact bro need help !

viper-adnan avatar Aug 03 '20 17:08 viper-adnan

I really con't help with any issues rn. I'll put up an update fixing everything and a video with how to deploy in some time

patheticGeek avatar Aug 04 '20 05:08 patheticGeek

any way to contact with you?! for fixing the issue...

https://t.me/viperadnanXD contact bro need help !

link of a bot tp contact with you?! like srsly bro?!

shakilofficial0 avatar Aug 04 '20 07:08 shakilofficial0

I really con't help with any issues rn. I'll put up an update fixing everything and a video with how to deploy in some time

Try redeploying the app again and adding the AUTH var. Works for me.

viper-adnan avatar Aug 05 '20 05:08 viper-adnan