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

Cannot read property 'indexOf' of undefined #57

Open
thisTom opened this issue Aug 27, 2019 · 1 comment
Open

Cannot read property 'indexOf' of undefined #57

thisTom opened this issue Aug 27, 2019 · 1 comment

Comments

@thisTom
Copy link

thisTom commented Aug 27, 2019

PS F:\www\zuhao\client> yarn debug:main
yarn run v1.13.0
$ electron --inspect=5858 -w ./dist/main/main.js

Debugger listening on ws://127.0.0.1:5858/0977f6ec-8de8-4e54-a2d5-09ad8d82aabe
For help, see: https://nodejs.org/en/docs/inspector
App threw an error during load
TypeError: Cannot read property 'indexOf' of undefined
at Function.t.getFileName (F:\www\zuhao\client\dist\main\main.js:139:211412)
at t (F:\www\zuhao\client\dist\main\main.js:139:210566)
at Object. (F:\www\zuhao\client\dist\main\main.js:1:74523)
at a (F:\www\zuhao\client\dist\main\main.js:1:110)
at Object. (F:\www\zuhao\client\dist\main\main.js:223:156632)
at a (F:\www\zuhao\client\dist\main\main.js:1:110)
at Object. (F:\www\zuhao\client\dist\main\main.js:139:219468)
at a (F:\www\zuhao\client\dist\main\main.js:1:110)
at F:\www\zuhao\client\dist\main\main.js:1:902
at Object. (F:\www\zuhao\client\dist\main\main.js:1:913)

when i package electron ,has this error。 thanks for you help,realy need help

@zygzagZ
Copy link

zygzagZ commented Sep 5, 2019

#50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants