Vue-cli introduces sockjs-client to report error

vue-cli installation sockjs-client 1.0.0 introduces error

related codes

import SockJS from "sockjs-client";

introduction module

 "dependencies": {
    "fastclick": "^1.0.6",
    "fs": "0.0.1-security",
    "net": "^1.0.2",
    "sockjs-client": "^1.0.0",
    "stompjs": "^2.3.3",
    "tls": "0.0.1",
    "vue": "^2.5.2",
    "vue-router": "^3.0.1",
    "vuex": "^2.1.1",
    "vuex-i18n": "^1.3.1",
    "vux": "^2.2.0"
  },

wrong picture

Jun.04,2021

No one can answer?

Menu