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

Module parse failed #88

Open
martinlombana opened this issue Mar 31, 2017 · 6 comments
Open

Module parse failed #88

martinlombana opened this issue Mar 31, 2017 · 6 comments

Comments

@martinlombana
Copy link

Hi,

After installing zerorpc in node, and using it in an ionic2 app with electron (either in ionic serve / npm start -with electron-) I get this error:

Module parse failed: D:\Sync\Martin\inProgress\P4Q\_bulk\zeromqtest\zeromqtest\node_modules\zeromq\build\Release\zmq.node Unexpected character '�' (1:2) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file)

I tried rebuilding the sources, but nothing.

Any ideas? Thanks,

@jingman
Copy link

jingman commented Jan 31, 2018

I have the same issue - were you able to resolve this?

@KrustyC
Copy link

KrustyC commented Mar 21, 2018

Any development on this? I have the same issue

@salvolm84
Copy link

Same here, electron-quasar app. I think has something to do with webpack that does not know what to do with this *.node file and it is looking for a suitable loader.
I'm pretty stuck, hope someone can help on this

@salvolm84
Copy link

oh yes, I think this can help https://github.com/webpack-contrib/node-loader
Testing it right now

@salvolm84
Copy link

Yes that was it, just install the node-loader and update your webpack config accordingly

@rakakhrl
Copy link

Yes that was it, just install the node-loader and update your webpack config accordingly

i have the same issue but im using babel

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

5 participants