Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify exact version of winston dependency
Work around for issue winstonjs/winston#1814 Signed-off-by: James Taylor <jamest@uk.ibm.com>
- Loading branch information
81e1123
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to fix this without rebuilding from master? I can't install any chaincode (
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/DABH/diagnostics.git
) until I find a way to use this fix.81e1123
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@makkasu you can try in your chaincode doing an explicit
npm install --save winston@3.2.1
As that is in your top level package JSON 3.2.1 will be installed, it satisfies the^3.2.1
semver so will be used.81e1123
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mbwhite thanks for the advice and the explanation, that's sorted things for me.