IBM / blockchainbean2

This code pattern shows how to model a supply-chain network using the IBM Blockchain Platform and is based on a collaboration with Brooklyn Roasting Company. The story, along with the supply-chain documents that were used to model this network, can be found at: https://www.ibm.com/blockchainbean. Note that the 'view the blockchain' button is being migrated''
https://developer.ibm.com/patterns/coffee-supply-chain-network-hyperledger-fabric-blockchain-2/
122 stars 84 forks source link

'lb-tsc' is not recognized as an internal or external command #11

Closed sharif2008 closed 5 years ago

sharif2008 commented 5 years ago

I am getting the error if I run npm start in web-app folder `

beanclient@1.0.0 build C:\Users\sharif\Documents\chaincode-workspace\blockchainbean2\web-app lb-tsc es2017 --outDir dist

'lb-tsc' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! beanclient@1.0.0 build: lb-tsc es2017 --outDir dist npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the beanclient@1.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\sharif\AppData\Roaming\npm-cache_logs\2019-05-07T06_22_00_742Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! beanclient@1.0.0 prestart: npm run build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the beanclient@1.0.0 prestart script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\sharif\AppData\Roaming\npm-cache_logs\2019-05-07T06_22_00_808Z-debug.log`

sharif2008 commented 5 years ago

Re-running npm install --ignore-scripts and npm rebuild solved my problem