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

compatibility Node version 12.14.0 #55

Open
simsimo opened this issue Dec 29, 2019 · 7 comments
Open

compatibility Node version 12.14.0 #55

simsimo opened this issue Dec 29, 2019 · 7 comments

Comments

@simsimo
Copy link

simsimo commented Dec 29, 2019

it's not compatible with the lastest version of nodejs 12.14.0 (npm V6.13.4 )

@dresende
Copy link
Member

dresende commented Jan 3, 2020

Do you have a log where you found incompatibility?

@mschloapps
Copy link

I have this issue trying to install:

3746 verbose stack Error: [email protected] install: prebuild-install || node-gyp rebuild
3746 verbose stack Exit status 1
3746 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
3746 verbose stack at EventEmitter.emit (events.js:210:5)
3746 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
3746 verbose stack at ChildProcess.emit (events.js:210:5)
3746 verbose stack at maybeClose (internal/child_process.js:1021:16)
3746 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
3747 verbose pkgid [email protected]
3748 verbose cwd C:\Users\schlo\Projects\Node.js
3749 verbose Windows_NT 10.0.18363
3750 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "modbus-stream"
3751 verbose node v12.14.0
3752 verbose npm v6.13.4
3753 error code ELIFECYCLE
3754 error errno 1
3755 error [email protected] install: prebuild-install || node-gyp rebuild
3755 error Exit status 1
3756 error Failed at the [email protected] install script.
3756 error This is probably not a problem with npm. There is likely additional logging output above.
3757 verbose exit [ 1, true ]

@bcatalin
Copy link

I confirm this for the same version of the nodeJs. [email protected] is the problem. Installing the [email protected] and manual install of the package is an workaround I've found. I am also using the TCP and I can't confirm that the serial connection is working.

@paratim
Copy link

paratim commented May 12, 2020

I confirm this for the same version of the nodeJs. [email protected] is the problem
Confirmed that this is still a problem for node v12.16

@leocotes
Copy link

I've the same problem.
I already install [email protected], but until error to install modbus-stream.

NODE 12.18.0
NPM 6.13.7

@jnavila
Copy link

jnavila commented Sep 14, 2020

Same here. @bcatalin . Could you explain how you managed to install this package manually, please?

@jacobq
Copy link
Contributor

jacobq commented Sep 21, 2020

Could you explain how you managed to install this package manually, please?

You can do it with yarn's selective dependency resolutions like this (in package.json):

{
  // ... dependencies and all that ...
  "resolutions": {
    "**/serialport": "^9.0.1"
  }
}

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

No branches or pull requests

8 participants