fyears / electron-python-example

Electron as GUI of Python Applications
MIT License
2k stars 234 forks source link

Module parse failed #29

Open rakakhrl opened 5 years ago

rakakhrl commented 5 years ago

So i use vuejs as the frontend of my electron app by using this plugin https://github.com/nklayman/vue-cli-plugin-electron-builder . But when i serve the electron app i got this error

Module parse failed: Unexpected character '�' (1:2) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file) Any idea to fix it?

charlesRmajor commented 5 years ago

Dealing with this error too! Looks related to this: https://github.com/0rpc/zerorpc-node/issues/88 The webpack update to use node-loader isn't working for me though.