martijnmichel / nordvpn-linux

A nicer way to connect to NordVPN on Linux.
GNU General Public License v3.0
21 stars 4 forks source link

Build Error on Arch Linux #2

Closed cleonyc closed 4 years ago

cleonyc commented 4 years ago

When I run quasar build, I get the error:

ERROR in ./node_modules/node-pty/build/Release/pty.node 1:0
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
 @ ./node_modules/node-pty/lib/index.js 49:49-85
 @ ./src/boot/xterm.js
 @ ./.quasar/client-entry.js
 @ multi ./.quasar/client-entry.js

I tried running yarn run lint, but that didn't seem to do anything.

martijnmichel commented 4 years ago

Do you have quasar installed globally? Else.. try rebuilding node-pty, ive included a little npm script: npm run rebuild

martijnmichel commented 4 years ago

Oh, i just figured, you need to quasar dev (or build) -m electron

cleonyc commented 4 years ago

Thanks! It worked! I initially ran into an error, but ran your npm script and it fixed it. Also, I'm going to package this for the AUR. What should I call it? nordvpn-linux?

martijnmichel commented 4 years ago

Great. Well.. i just created a release with AppImage and snap binaries. So not sure it's needed to put it on AUR, on the other hand it'll give some exposure. Can we maintain it together? nordvpn-linux will be fine yes.

cleonyc commented 4 years ago

Sure! Sounds great!

znebby commented 3 years ago

It seems it's still not up on the AUR. Would be really nice to see it on there.