binbytes / nuxt-chat-app Goto Github PK
View Code? Open in Web Editor NEWFrontend of real-time chat application built using nuxtjs, socket.io. Check the backend at https://github.com/binbytes/chat-app-server.
Home Page: https://chat.binbytes.com/
Frontend of real-time chat application built using nuxtjs, socket.io. Check the backend at https://github.com/binbytes/chat-app-server.
Home Page: https://chat.binbytes.com/
ERROR Nuxt error
TypeError: Cannot read property 'push' of undefined
index.js:40 ModuleContainer.module.exports
[nuxt-chat-app]/[@nuxtjs]/auth/lib/module/index.js:40:32module.js:162
[nuxt-chat-app]/[nuxt]/lib/core/module.js:162:30new Promise
module.js:146 ModuleContainer.addModule
[nuxt-chat-app]/[nuxt]/lib/core/module.js:146:12
utils.js:96
[nuxt-chat-app]/[nuxt]/lib/common/utils.js:96:43module.js:19 async ModuleContainer.ready
[nuxt-chat-app]/[nuxt]/lib/core/module.js:19:5nuxt.js:60 async Nuxt.ready
[nuxt-chat-app]/[nuxt]/lib/core/nuxt.js:60:5builder.js:132 async Builder.build
[nuxt-chat-app]/[nuxt]/lib/builder/builder.js:132:5
Hi!
Very inspiring project. Thank you for sharing it.
I just would like to let you know that the online working app is failing. The errors are:
The resource https://chat.binbytes.com/_nuxt/manifest.7b96659a9338ba9f2f70.js was
preloaded using link preload but not used within a few seconds from the window's load
event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
and
GET https://chat-server.binbytes.com/socket.io/?EIO=3&transport=polling&t=MLiRfEr 0 ()
I'm here to learn from your code, so I unfortunately I can't help figuring out whats happening.
best regards,
Gil
I try run nuxt-chat-app and nuxt-chat-server then i get this error from client.
Please help me.
server i get this response
{ "res": { "statusCode": 200, "body": "POST" }, "req": { "url": "/api/auth/login", "headers": { "host": "localhost:3002", "connection": "keep-alive", "sec-fetch-mode": "cors", "access-control-request-method": "POST", "origin": "http://localhost:3000", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "access-control-request-headers": "content-type", "accept": "*/*", "sec-fetch-site": "same-site", "referer": "http://localhost:3000/login", "accept-encoding": "gzip, deflate, br", "accept-language": "vi-VN,vi;q=0.9,ja;q=0.8,en;q=0.7" }, "method": "OPTIONS", "httpVersion": "1.1", "originalUrl": "/api/auth/login", "query": {} }, "responseTime": 1, "level": "info", "message": "HTTP OPTIONS /api/auth/login 200 1ms" } OPTIONS /api/auth/login 200 0.444 ms - 4
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.