stream icon indicating copy to clipboard operation
stream copied to clipboard

compatibility Node version 12.14.0

Open simsimo opened this issue 4 years ago • 7 comments

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

simsimo avatar Dec 29 '19 20:12 simsimo

Do you have a log where you found incompatibility?

dresende avatar Jan 03 '20 14:01 dresende

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 ]

mschloapps avatar Jan 06 '20 23:01 mschloapps

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.

bcatalin avatar Jan 14 '20 13:01 bcatalin

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

paratim avatar May 12 '20 09:05 paratim

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

leocotes avatar Jul 16 '20 14:07 leocotes

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

jnavila avatar Sep 14 '20 15:09 jnavila

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"
  }
}

jacobq avatar Sep 21 '20 16:09 jacobq