Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Node v7.1.0 Compatibility Issue? #101

Closed
jwuliger opened this issue Nov 9, 2016 · 8 comments
Closed

Node v7.1.0 Compatibility Issue? #101

jwuliger opened this issue Nov 9, 2016 · 8 comments
Labels

Comments

@jwuliger
Copy link

jwuliger commented Nov 9, 2016

Hello,

I just upgraded to Node v7.1.0 on a Windows 10 Machine. I have been using npm-windows-upgrade for a long time now. Love the tool. I am not sure if there is an issue with this tool or with the Node Version. I am able to install npm-windows-upgrade without a problem. When I try to run npm-windows-upgrade I get this message in Powershell:

(node:13328) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: write EINVAL
(node:13328) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Thanks for any help!

@felixrieseberg
Copy link
Owner

Thanks for the report! To be clear, did things work for you with Node 7.0?

@jwuliger
Copy link
Author

jwuliger commented Nov 9, 2016

Hello. Yes It works fine on 7.0, It looks like other packages are having trouble as well though. I am just reverting back to 7.0

@g0ld3lux
Copy link

im facing same issue here , is this resolve? any hint to fix this

@redstrike
Copy link

I want to report the same issue.
npm-windows-upgrade run fine on node 7.0, but cannot on node 7.1

@amurad
Copy link

amurad commented Nov 10, 2016

Same issue, worked on 7.0, but not working on 7.1

@almothafar
Copy link

Same issue :

npm-windows-upgrade v3.1.0
(node:12280) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: write EINVAL
(node:12280) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are
 not handled will terminate the Node.js process with a non-zero exit code.
tty.js:76
  var err = this._handle.getWindowSize(winSize);
                        ^

TypeError: Cannot read property 'getWindowSize' of null
    at WriteStream._refreshSize (tty.js:76:25)
    at process.on (internal/process/stdio.js:16:43)
    at emitNone (events.js:91:20)
    at process.emit (events.js:185:7)
    at Signal.wrap.onsignal (internal/process.js:200:44)

@felixrieseberg
Copy link
Owner

The bug is known upstream and is with Node, but I'll see if there's a way for us to get around it.

Reference: nodejs/node#9542

@felixrieseberg
Copy link
Owner

Alright, seems like there's nothing we can do. Given that this breaks a whole range of important modules (react, mocha, electron, etc) I'd recommend that everyone downgrades to 7.0 until this bug is fixed.

In the meantime, I published a new version of npm-windows-upgrade that will warn users if they are running on Node v7.1.

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

No branches or pull requests

6 participants