Skip to content

Dev Console got http://localhost:3000/socket.io/socket.io.js is being assigned a //# sourceMappingURL, but already has one #3958

@xreider

Description

@xreider

Describe the bug
Dev Console got http://localhost:3000/socket.io/socket.io.js is being assigned a //# sourceMappingURL, but already has one

To Reproduce

Socket.IO server version:"socket.io": "^4.1.2",

Server

const { io } = require('./app', {
  // allowEIO3: true, // false by default
});
io.on('connection', socket => {
  console.log('IO connected');
});

Socket.IO server version:"socket.io": "^4.1.2",

Client

client side pug

script(src='/socket.io/socket.io.js')
script.
  const socket = io();
  //- socket.on('hello', function (data) {
  //-   console.log(data);
  //- });
script(src='/bundles/bundle.js') // generated by web pack

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions