We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
eu tava tentando abrir somente o servidor para uns testes
import express from 'express' import http from 'http' import socketio from 'socket.io' const app = express() const server = http.createServer(app) const sockets = socketio(server) app.use(express.static('public')) server.listen(8080, () => { console.log(`> Server listening on port: 8080`) })
mas eu recebo o erro
import socketio from 'socket.io' ^^^^^^^^ SyntaxError: The requested module 'socket.io' does not provide an export named 'default'
como eu resolvo?
The text was updated successfully, but these errors were encountered:
em vez de "socketio", use "socketIo"
Sorry, something went wrong.
playground: mirror Doom Fire repository structure
62469ca
No branches or pull requests
eu tava tentando abrir somente o servidor para uns testes
mas eu recebo o erro
como eu resolvo?
The text was updated successfully, but these errors were encountered: