nodists / nodist

Natural node.js and npm version manager for windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node v6 causes a deprecation warning

marcelklehr opened this issue · comments

Figure out a way to fix nodist in node v6 or else pin it to use node v5

Several other packages have a deprecation warning on node 6, including npm 3.5.2

(node:232) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

Assuming this is the error you are seeing, the issue is a dependency on graceful-fs@3.0.8. This is fixed in graceful-fs@4.0.0

This is the relevant part of your dependency tree
nodist@0.7.2
└─┬ unzip@0.1.11
└─┬ fstream@0.1.31
└── graceful-fs@3.0.8

fstream >=1.0.0 depends on a newer graceful-fs, but fstreams dependency does not allow anything over 0.1.

Your options will be to convince unzip to update to the latest fstream, or find an alternative to unzip.

@spinchristopher Thank you for the insight. Apparently unzip hasn't seen a release for two years :/

@spinchristopher do you know of a good alternative to unzip?

I found extract-zip.

Fixed with 4df7159