Error: Cannot find module 'fabric-client'

In my case, I did

$ npm update

This should include [email protected] (at DateTime.Now = Jun/09/2018)


Fabric client and Fabric CA client packages are needed to run this, which you have to install by "npm install" in the folder, if this operation is unsuccessful, remove the node_modules folder and then reinstall it , you can use "rm -rf node_modules" to remove it.


It looks like you don't have all the required pieces for npm to work on Windows. Try to do a "npm install --global windows-build-tools" and once this is done, rerun "npm install". For more info, see https://www.npmjs.com/package/windows-build-tools

Arnaud