dapp icon indicating copy to clipboard operation
dapp copied to clipboard

yarn install fails for node > 4.0.0

Open hayeah opened this issue 7 years ago • 4 comments

ipld 0.6 locks the node version to ^4.0.0. It is required by transmute-framework.

https://github.com/transmute-industries/transmute-framework/blob/b14becb8f42380870f467246d4d920289e8945c5/package.json#L75

A work around for now is to use yarn, and tell it to ignore node version constraint:

yarn install --ignore-engines

The original ipld library seems to have migrated to a new package, which is compatible with node >=4.0.0

https://github.com/ipld/js-ipld-dag-cbor

Not sure whether this is a compatible package though.

hayeah avatar Jul 28 '17 05:07 hayeah

@hayeah thanks for reporting this issue and especially the workaround!

I will give migrating to the new package a shot and report findings.

The framework only uses marshal and unmarshal so it should be simple to upgrade.

OR13 avatar Jul 28 '17 21:07 OR13

@hayeah This pr upgrades the ipld package... I'm not a huge fan of the new package name... but i am a big fan of being up to date. thanks!

https://github.com/transmute-industries/transmute-framework/pull/76

OR13 avatar Jul 28 '17 22:07 OR13

I'm closing this as I believe the PR resolved this issue.

OR13 avatar Aug 04 '17 22:08 OR13

This issue has been reproduced, the issue is now with

Unsupported engine for "[email protected]"

Having trouble determining which package is importing this old busted package.

Its times like these I love node...

OR13 avatar Aug 11 '17 04:08 OR13