Hi
NPM Run build doesnt create build directory
and npm run start shows error
ERROR in ./app/src/app.js
Module not found: Error: Can't resolve '../../build/contracts/SupplyChain.json' in '/home/ubuntu/Desktop/Code/WineSupplyChain/app/src'
@ ./app/src/app.js 23:19-68
@ multi (webpack)-dev-server/client?http://localhost:8080 ./app/src/app.js
ℹ 「wdm」: Failed to compile.
run truffle compile or truffle migrate, and Artifacts of your compilation will be placed in the build/contracts/ directory, relative to your project root. It works for me.
truffle doc
Hi NPM Run build doesnt create build directory and npm run start shows error ERROR in ./app/src/app.js Module not found: Error: Can't resolve '../../build/contracts/SupplyChain.json' in '/home/ubuntu/Desktop/Code/WineSupplyChain/app/src' @ ./app/src/app.js 23:19-68 @ multi (webpack)-dev-server/client?http://localhost:8080 ./app/src/app.js ℹ 「wdm」: Failed to compile.