Skip to content

4.3.0 Error with Vue/Webpack #1507

@dbussert

Description

@dbussert

Describe the bug

When compiling Vue.js using vue-cli-service, in serve and build modes, webpack displays a warning

 WARNING  Compiled with 1 warning8:46:03 AM

 warning  in ./src/main.js

"export 'default' (imported as 'SocketIO') was not found in 'socket.io-client'

which references this line import SocketIO from 'socket.io-client' in my main.js

This is specific to Socket.IO client version: 4.3.0, 4.2.0 works normal

Platform: Windows and Linux

Additional context

When loading the Vue site after bundling, Chrome throws this error

image

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