Skip to content
New issue

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

electron vue running Cannot read property 'indexOf' of undefined #2108

Closed
396784797 opened this issue Jul 4, 2020 · 2 comments
Closed

electron vue running Cannot read property 'indexOf' of undefined #2108

396784797 opened this issue Jul 4, 2020 · 2 comments

Comments

@396784797
Copy link

Summary of Problem

(Please answer all 3)

  • What are you trying to do?
    serialport Perform error
  • What happens?
    vue-router.esm.js?8c4f:2171 TypeError: Cannot read property 'indexOf' of undefined
    at Function.getFileName (bindings.js?dfc1:178)
    at bindings (bindings.js?dfc1:82)
    at eval (win32.js?7cf7:1)
    at Object../node_modules/@serialport/bindings/lib/win32.js (about.js:120)
    at webpack_require (index.js:854)
    at fn (index.js:151)
    at eval (index.js?c888:6)
    at Object../node_modules/@serialport/bindings/lib/index.js (about.js:32)
    at webpack_require (index.js:854)
    at fn (index.js:151)
  • What should have happened?

Code to Reproduce the Issue

const serialport = new SerialPort(path)

// Code

Versions, Operating System and Hardware

"vue-cli-plugin-electron-builder": "~2.0.0-rc.1",

  • SerialPort@?
    "serialport": "^9.0.0",
  • Node.js v?
    12.17.0
  • Windows? Linux? Mac?
    Windows
  • Hardware and chipset? (Prolific/FTDI/Other)
@ronger-x
Copy link

@stale
Copy link

stale bot commented Sep 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week no further activity occurs. Feel free continue the discussion or ask for a never-stale label to keep it open. If this is a support issue, consider sharing it on stack overflow to get more eyes on your problem.

@stale stale bot added the stale-issue label Sep 20, 2020
@stale stale bot closed this as completed Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants