Giter VIP home page Giter VIP logo

chat21-web-widget's People

Contributors

alessandro-giovinazzo avatar andrealeo83 avatar angular-cli avatar dariodepa avatar dariodepa75 avatar gab-95 avatar sponzillo avatar stefanodp91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chat21-web-widget's Issues

npm install error

environment:
npm -v = 6.13.4
node -v = v12.16.1
OS: macOS

i've installed cloud functions , create a firebase database.

git clone git clone https://github.com/chat21/chat21-web-widget.git
npm install
and i got errors:

n=0" "--node_napi_label=node-v72"
gyp ERR! cwd /Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:311:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc
node-pre-gyp ERR! node -v v12.16.1
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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:

The custom token corresponds to a different audience.

Hi guys,

We are currently getting the following error: The custom token corresponds to a different audience.

We have double checked our API details and have spoken to Google Firebase support and they are suggesting
that it could be an issue with how chat21 has integrated firebase. Does anyone have any recommendations / suggestions?

Thanks again,
Lewis

Deploy to Web Server

From the README file, it states to copy the content of dist folder to your webserver.

But there seems to be no dist folder

[question] setup user to user chat (custom token authentication)

Hello Andrea.

We'd like to try your project to organize chat between users on our website. I got a bit confused about how to set up the widget to allow it. My project is on Django and I'm going to use a custom token to authenticate users in Firebase. I see some functionality related to it in the code (file auth.service.ts, function authenticateFirebaseCustomToken), but not sure how to create a proper widget configuration.

I have successfully deployed the cloud functions, created groups (using HTTP API) and created a user to user chat on iOS (derived from your demo apps). It's awesome!

Could you help me to setup the web widget for my use case (user to user chat)? Maybe you have some instructions somewhere or maybe you have some time to give me hints regarding it?

Maybe the right question should be: is it the right piece of software to use for my use case? :)

Thank you for advance!

web application on deploy missing in firebase

I have followed all directions and I was able to deploy the app.
The database, rules and functions are deployed successfully.

In the public folder I see an example web application to test chat service but I see it was not published in Firebase after deploy. How can I publish the content of the public folder to a hosted web app so I can test it?

Error: firebase config is not defined. Please create your widget-config.json. See the Chat21-Web_widget Installation Page

I have tried tiledesk installation using docker-compose by following the steps in the below link, https://developer.tiledesk.com/installation/install-tiledesk-with-firebase-chat21-engine/running-tiledesk-with-docker-compose#1-run-docker-compose-services which gives me the below error,

Error: firebase config is not defined. Please create your widget-config.json. See the Chat21-Web_widget Installation Page in main.bundle.js

Any help would be highly appreciated

Regards,

Widget is not appearing, but giving a lot of 400s

I tried to install web-widget alongside with tiledesk-server, tiledesk-dashboard. I published cloud functions on firebase. And I tried to go to widget location, it was just giving me blank page. I checked console. There was bunch of messages like Failed to load resource: the server responded with a status of 400 (). It was working one day. And then stopped.

Options to integrate chatbots using Dialogflow

Is it possible to have options to integrate chatbots? Probably I would like to integrate dialogflow api's with chat21. Have a chatbot to answer questions, if the bot is not able to answer, I want to handoff it to a live human agent. I think this would be a great feature for chat21.

Globals defintions and setups

Cciao team,
Looking to run this on my desktop a couple of question if you don't mind :
On the environments.ts

  • remoteTranslationsUrl is the apiUrl are the URL for api_function deployed ? vero ?

On the utils globals.ts
BASE_LOCATION = Api URL ? ( currently https://widget.tiledesk.com/v2 )
POWERED = include the hosting file right ?

I got innumerable errors on undefined getBaseLocation function

Thanks for your help again.
Cecilio

how to config mqtt

i'm install it by source code with tiledesk-server, but i can not find mqtt server, how can i config the mqtt?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.