adonespitogo / adobot-io Goto Github PK
View Code? Open in Web Editor NEWAdoBot NodeJS Server with socket.io
Home Page: https://github.com/adonespitogo/AdoBot
License: MIT License
AdoBot NodeJS Server with socket.io
Home Page: https://github.com/adonespitogo/AdoBot
License: MIT License
does the application work after hard reset?
Hi , i cant using heroku website , can you tell me how i can set it in nanobox website?
hi, is there any way to not use heroku and use my own server?
thanks.
That leave this error
Cloning "https://github.com/adonespitogo/AdoBot-IO.git " ...
Commit: 055663d (Update README.md)
Author: Adones Pitogo [email protected]
Date: Fri Feb 15 20:17:22 2019 +0800
Pulling image "docker-registry.default.svc:5000/openshift/nodejs@sha256:b155814ac48feed9667b590a73f090367cbd7f64e34aaeb4dc70bfc8a4963ace" ...
Using docker-registry.default.svc:5000/openshift/nodejs@sha256:b155814ac48feed9667b590a73f090367cbd7f64e34aaeb4dc70bfc8a4963ace as the s2i builder image
---> Installing application source
---> Building your Node application from source
Current git config
url.https://[email protected]:
url.https://.insteadof=ssh://
url.https://github.com.insteadof=ssh://[email protected]
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/adonespitogo/AdoBot-IO.git
remote.origin.fetch=+refs/heads/:refs/remotes/origin/
branch.master.remote=origin
branch.master.merge=refs/heads/master
---> Installing dependencies
---> Using 'npm install -s --only=production'
sh: run-s: command not found
error: build error: non-zero (13) exit code from docker-registry.default.svc:5000/openshift/nodejs@sha256:b155814ac48feed9667b590a73f090367cbd7f64e34aaeb4dc70bfc8a4963ace
Can any one solve this problem
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] migrate: sequelize db:migrate
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] migrate 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.MpqiW/_logs/2020-07-13T06_36_35_375Z-debug.log
ERROR: "migrate" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `run-s migrate build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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.MpqiW/_logs/2020-07-13T06_36_35_433Z-debug.log
-----> Build failed
I followed every step and set everything up properly. The only problem I've encountered is with google maps. If I use the default map configuration, it says "this page didn’t load google maps correctly, do you own this website?" I have an API key, but I don't know where to use it, and the angular-google-maps.js seems a little confusing. I tried setting up a fresh map and it worked, but then I couldn't use the bot.lat and bot.longi.
Any thoughts?
i am trying to install web server on local platform but on error occurred like below please help me to achieve my target
thanks in advance
Loaded configuration file "config/config.json".
Using environment "development".
(node:32001) [DEP0126] DeprecationWarning: timers.active() is deprecated. Please use timeout.refresh() instead.
(node:32001) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead.
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] sequelize_it_please: sequelize db:migrate
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] sequelize_it_please script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: run-s sequelize_it_please gulp_it_please
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
Hi,
Can we deploy the app on Google Cloud Platfrom's appengine or Compute engine if yes Please help me in deploying the app on it.
Thanks in advance
in routes
./dist/index.html
is missing ... Kindly update the proper data on it ...
I managed to set it up with some remote MySQL to use Heroku without a credit card.
it works normally on localhost with a remote database but on Heroku when there are updates there is no sequelize message on the logs bot the message from the client is receiving.
019-04-09T02:44:23.544597+00:00 app[web.1]: path: //message
2019-04-09T02:44:23.544618+00:00 app[web.1]: query:
2019-04-09T02:44:23.544699+00:00 app[web.1]: {}
2019-04-09T02:44:23.544704+00:00 app[web.1]: body:
2019-04-09T02:44:23.544792+00:00 app[web.1]: { thread_id: '2',
2019-04-09T02:44:23.544793+00:00 app[web.1]: date: '2019-04-09 07:14:21',
2019-04-09T02:44:23.544794+00:00 app[web.1]: message_id: '16',
2019-04-09T02:44:23.544795+00:00 app[web.1]: phone: '+1893565625552',
2019-04-09T02:44:23.544797+00:00 app[web.1]: uid: 'd850e64d38de7872',
2019-04-09T02:44:23.544798+00:00 app[web.1]: message: 'asda',
2019-04-09T02:44:23.544799+00:00 app[web.1]: type: '2' }
2019-04-09T02:44:23.544802+00:00 app[web.1]: ----------------------------
2019-04-09T02:44:23.543556+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=c9086db5-8670-4b22-a853-df20eac904a3 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
and on get message i get the same heroku router error
2019-04-09T02:44:06.957309+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=ead69a6c-4c0b-4a02-8b29-555f1c7a3ecd fwd="109.202.101.34" dyno=web.1 connect=0ms service=1ms status=404 bytes=392 protocol=http
2019-04-09T02:44:06.956390+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=c54686c8-a9a1-4886-a649-a13396bd7b25 fwd="109.202.101.34" dyno=web.1 connect=0ms service=1ms status=404 bytes=392 protocol=http
2019-04-09T02:44:01.567390+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=533b7129-6e0e-48b5-bfcd-35b3f5bc89c7 fwd="109.202.101.34" dyno=web.1 connect=0ms service=1ms status=404 bytes=392 protocol=http
2019-04-09T02:44:06.518105+00:00 heroku[router]: at=info method=POST path="//notify" host=wispwi.herokuapp.com request_id=44f30ba4-fe7d-430b-8cf4-7086d560cd9d fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=391 protocol=http
2019-04-09T02:44:06.554555+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=bfc13ea6-2f36-4699-a456-780c55dcea36 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:06.573690+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=7ff9d232-bbaf-43b9-b605-a2f299750ce4 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:06.542827+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=2aad28d8-07c6-49dc-b19e-d8d3f56f4244 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:01.452157+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=9245007d-4e88-4db5-832e-7640405fb7ef fwd="109.202.101.34" dyno=web.1 connect=0ms service=3ms status=404 bytes=392 protocol=http
2019-04-09T02:44:06.511860+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=e1c0f358-d0f9-4c35-ada2-f204bcea8b9a fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:01.513165+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=af7ad076-bda8-44a3-abd9-49c693342e36 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:01.476299+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=1e74b6cb-49d6-4020-9f16-205728afa447 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:06.499244+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=08d8defa-c659-4ef4-8c6f-0bd9ffdb112f fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:01.582004+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=32b37549-9153-44cc-86ea-907e4d9b1d66 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
2019-04-09T02:44:06.514967+00:00 heroku[router]: at=info method=POST path="//notify" host=wispwi.herokuapp.com request_id=8283e851-73f1-4c1e-9e4d-246384d16be8 fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=391 protocol=http
2019-04-09T02:44:06.547959+00:00 heroku[router]: at=info method=POST path="//message" host=wispwi.herokuapp.com request_id=e36e5e90-d0fd-4cc0-8717-5d48acb68edb fwd="109.202.101.34" dyno=web.1 connect=0ms service=2ms status=404 bytes=392 protocol=http
is it from the remote database or using free Heroku account,
and from heroku it can fetch old data from database or update status so it connects to it
This app is Super cool.Big up @adonespitigo . The params are suppose to be encrypted ,i want to use aes
example ;
val sdk = "24"
val key = "1234"
val cryptLib = CryptLib()
val enc_sdk = cryptLib.encryptPlainTextWithRandomIV(sdk, key)
, How am i going to decrypt it inside node js script. Any help will be appreciated.
how do i un this in xamp
$ npm install
...
found 58 vulnerabilities (38 low, 5 moderate, 15 high)
run `npm audit fix` to fix them, or `npm audit` for details
$ npm audit fix
...
+ [email protected]
+ [email protected]
+ [email protected]
added 22 packages from 47 contributors, removed 27 packages and updated 30 packages in 8.845s
fixed 14 of 58 vulnerabilities in 4015 scanned packages
5 package updates for 44 vulns involved breaking changes
(use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
$ npm audit fix --force
...
fixed 44 of 44 vulnerabilities in 3696 scanned packages
All of this doesn't look really clean...
I have also a small question, I've seen in package.json "postinstall": "node_modules/.bin/sequelize db:migrate; ./node_modules/.bin/gulp"
, it means that it's not necessary to follow the further instructions in the README after having typed npm install, right ?
Actually localhost:3000 seems to work, I can connect.
Can we block all Android based Device after install or any possiblities
Or
What is a the best possibility to disable android device except emergency call
Regards
When I install the server using "npm install" an error is shown:
Sequelize [Node: 8.11.1, CLI: 2.7.0, ORM: 3.30.4]
Task 'db:migrate;' is not in your gulpfile
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: sequelize db:migrate; ./node_modules/.bin/gulp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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! C:\Users\user\AppData\Roaming\npm-cache_logs\2019-01-04T13_01_35_786Z-debug.log
After installing the app to the victim's Android device and entering the server URL,
I could not see any device connected on Adobot Panel
How to proceed?
Hello everyone, i installed on vps but i got ~postinstall: cannot run in wd [email protected] run-s migrate build during npm install, also i did ./node_modules/.bin/sequelize db:migrate and saying connection error, instead of 127.0.0.1 i replaced to localhost. What should I do to fix this error
You just need to know, Heroku will suspend your account right after the AdoBot-IO app had successfully deployed.
remote: Done. Phantomjs binary available at /tmp/build_43a115e50e09530019db796929f807cd/node_modules/phantomjs-p
ebuilt/lib/phantom/bin/phantomjs
remote:
remote: > [email protected] postinstall /tmp/build_43a115e50e09530019db796929f807cd
remote: > run-s migrate build
remote:
remote:
remote: > [email protected] migrate /tmp/build_43a115e50e09530019db796929f807cd
remote: > sequelize db:migrate
remote:
remote:
remote: Sequelize [Node: 12.16.1, CLI: 2.7.0, ORM: 3.30.4]
remote:
remote: fs.js:35
remote: } = primordials;
remote: ^
remote:
remote: ReferenceError: primordials is not defined
remote: at fs.js:35:5
remote: at req_ (/tmp/build_43a115e50e09530019db796929f807cd/node_modules/natives/index.js:143:24)
remote: at Object.req [as require] (/tmp/build_43a115e50e09530019db796929f807cd/node_modules/natives/index.j
:55:10)
remote: at Object. (/tmp/build_43a115e50e09530019db796929f807cd/node_modules/graceful-fs/fs.js:1:
7)
remote: at Module._compile (internal/modules/cjs/loader.js:1158:30)
remote: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
remote: at Module.load (internal/modules/cjs/loader.js:1002:32)
remote: at Function.Module._load (internal/modules/cjs/loader.js:901:14)
remote: at Module.require (internal/modules/cjs/loader.js:1044:19)
remote: at require (internal/modules/cjs/helpers.js:77:18)
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! [email protected] migrate: sequelize db:migrate
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the [email protected] migrate 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.9mEA8/_logs/2020-03-05T02_10_25_421Z-debug.log
remote: ERROR: "migrate" exited with 1.
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! [email protected] postinstall: run-s migrate build
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the [email protected] postinstall 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.9mEA8/_logs/2020-03-05T02_10_25_488Z-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 donivarshop.
remote:
To https://git.heroku.com/donivarshop.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/donivarshop.git'
PS C:\Users\MacBook\Desktop\adobot-master>
I encountered this same problem when I used heroku and when I also tested it in localhost or cpanel, I find the same problem
Is there any plan on adding File Manager, Camera, Mic ,Whatsapp and maybe super adminmanager On it?
Hi developer....can you please enhance this software adding some features like file manager, camera, record calls etc
Thanks in advance
I want to know that in setup at the development of .json file i will put my pass and email ok but what will i put in the database or can u tell me what should i write iam using heroku for all things .
Secondly that where i have to type all the setup commands in the nodejs command prompt or in the usual cmd . and whenever i put the setup commands i get the error : "No such file or directory"or the second error would be "system could not recoginze '_'this letter " i think u have wrong commands or misspelled them.
SO PLS TELL ME THE ERROR SOLUTION AND WHERE I HAVE TO TYPE THE SETUP LAST SEC COMMANDS AND WHAT SHOULD I WRITE IN DATABASE IF IAM USING HEROKU DATABSASE
AND WHEN I TYPE : ./node_modules/.bin/sequelize db:migrate i get this error : Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_M
ODE: Client does not support authentication protocol requested by server; consid
er upgrading MySQL client , even i have upgraded my mysql client , it would be better if u made a tutorial for all these
THANKS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.