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

The package breaks on every update #28

Open
qub1750ul opened this issue Aug 31, 2017 · 5 comments
Open

The package breaks on every update #28

qub1750ul opened this issue Aug 31, 2017 · 5 comments

Comments

@qub1750ul
Copy link

As the title, then Atom is able to fix the problem on its own by offering the possibility of auto-rebuilding the package internally.
This problem is present in more than one version of the package.

Maybe related to #27 ?

Atom 1.19.4 x64
OS: Arch Linux ( last full package update today )

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.

arduino-upload 1.2.0

build@unknown – Cannot find module '/home/root/.atom/packages/arduino-upload/node_modules/serialport/build'
serialport@5.0.0 – The module '/home/root/.atom/packages/arduino-upload/node_modules/serialport/build/Release/serialport.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 50. This version of Node.js requires NODE_MODULE_VERSION 53. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or`npm install`).
usb-detection@1.4.0 – The module '/home/root/.atom/packages/arduino-upload/node_modules/usb-detection/build/Release/detection.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 50. This version of Node.js requires NODE_MODULE_VERSION 53. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or`npm install`).
build@1.4.0 – Cannot find module '/home/root/.atom/packages/arduino-upload/node_modules/usb-detection/build'
@Sorunome
Copy link
Owner

then Atom is able to fix the problem on its own by offering the possibility of auto-rebuilding the package internally.

So just re-build? It's a click of a button?

Maybe related to #27 ?

Perhaps, because serialport uses node-gyp and that is still funky with electron. With windows it doesn't work at all, with linux it at least works......but stripping that would mean removing all the serialport features. Or do you know of any other node serialport package that doesn't suffer of these issues?

@qub1750ul
Copy link
Author

So just re-build? It's a click of a button?

Yes

Perhaps, because serialport uses node-gyp and that is still funky with electron. With windows it doesn't work at all, with linux it at least works......but stripping that would mean removing all the serialport features. Or do you know of any other node serialport package that doesn't suffer of these issues?

I'm not practical of node.

@Sorunome
Copy link
Owner

Sorunome commented Sep 1, 2017

As I provide builds for serialport now, does it maybe work?

@qub1750ul
Copy link
Author

Reinstalling the package on a clean Atom install, the problem persists

@StaticRocket
Copy link
Collaborator

image
Visual Example

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

No branches or pull requests

3 participants