-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(tools): prod build fail due to missing dependency ngo #673
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
Developer_Experience
Fabric
good-first-issue
Good for newcomers
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
Comments
petermetz
added
bug
Something isn't working
dependencies
Pull requests that update a dependency file
Developer_Experience
Fabric
good-first-issue
Good for newcomers
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
labels
Mar 16, 2021
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Mar 16, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Mar 23, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Mar 25, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Mar 25, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Mar 25, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Mar 26, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Mar 26, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
kikoncuo
pushed a commit
that referenced
this issue
Mar 29, 2021
The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes #673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
jordigiam
pushed a commit
to kikoncuo/cactus
that referenced
this issue
Apr 8, 2021
…-cacti#673 The dependency was removed accidentally during a refactor where we deprecated the chain code compiler component in its current form (ngo is a depenency of that). Later on they are both scheduled to depart from the codebase (ngo and the chain code compiler) but that will be part of a larger refactor so for now I just added the missing dependency back to ensure that the `./tools/ci.sh` script doesn't crash when it runs the production build (the one that bundles with webpack and minifies it as well) Fixes hyperledger-cacti#673 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
Developer_Experience
Fabric
good-first-issue
Good for newcomers
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
Describe the bug
The production build (that does webpack bundling) fails due to the missing
ngo
dependency from the fabric connector. This was mistakenly removed at the time of a cleanup 5 months ago.To Reproduce
./tools/ci.sh
and watch it burnExpected behavior
./tools/ci.sh
and watch it succeed.Logs/Stack traces
N/A
Screenshots
N/A
Cloud provider or hardware configuration:
Dev machine
Operating system name, version, build:
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
main
@ ebfff9fHyperledger Cactus Plugins/Connectors Used
All of them.
Additional context
There's also an open issue for changing the GHA ci.yml file so that it runs the tools/ci.sh instead of directly invoking the npm scripts. This is relevant here because had we already implemented that change, this bug would've been caught much earlier on.
cc: @opentaps @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo
The text was updated successfully, but these errors were encountered: