-
Notifications
You must be signed in to change notification settings - Fork 495
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
Build is throwing error - Step 3/3 : COPY crypto /orderer/crypto COPY failed: stat /var/lib/docker/tmp/docker-builder825722007/crypto: no such file or directory #88
Comments
did you pull the latest version of the code? You don't need to modify your yaml files at all. Just pull the latest version of the code, ensure you are using
and then run ./build_mac and all should be fine. Just tried this a couple minutes ago on my Mac and all worked fine. |
also, make sure you do |
Hi Thanks for the answer, I far as I know, there is no request to update yaml files in you labs. it might be done in one of your script? to be sure to get the latest version, I clone one more time your project, install the dependencies. BTW my versions: |
? |
In other repositories like `basic-network` the image in docker-compose file
is usually `hyperledger/fabric-ca:1.x.x` for the CA. Would this change
work? Not entirely sure how this works, Horea any thoughts?
```
insurance-ca:
container_name: insurance-ca
extends:
file: ./ca-base.yaml
service: ca-base
image: hyperledger/fabric-ca:1.4.0
ports:
- 7054:7054
```
…On Thu, Sep 12, 2019 at 12:33 PM laurentvinc ***@***.***> wrote:
?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#88?email_source=notifications&email_token=AC5Y3674WZWERAGSOGZ3OO3QJHSTHA5CNFSM4IU3HKS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6Q4EHI#issuecomment-530694685>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC5Y366LXDEALIKQ6GIGLCDQJHSTHANCNFSM4IU3HKSQ>
.
|
@laurentvinc Please switch to Node version 8.9.x as listed in the prerequisites.
See if this solves the problem. |
I update the node version to use the 8.9.4
|
I see in your message that you said "N" to the new image. Have you tried saying "yes" to continue with new image? i.e.
I've just tried this on my mac with Node 8.9.4 and
and all worked fine. |
Hi event answering Y, I didn't succeed Step 3/3 : COPY crypto /orderer/crypto Continue with the new image? [yN]Y |
Hi All, I'm facing the same issue. Do we have fix for this? I'm using node 8.17.0 with npm 6.13.4 Also Im seeing an seeing an issue with genesis block creation Error on outputBlock: could not create bootstrapper: could not create channel group: error adding policies to channel group: no policies defined |
I reopen the issue : #72
as I have got the same error and execute the recommendations described in #72 without success.
my situation: I ran the code pattern https://github.com/IBM/build-blockchain-insurance-app/blob/master/README.md/ until the Step 10 (without any issue).
when I used the command
./build_mac.sh
I have got the message
Step 3/3 : COPY crypto /orderer/crypto COPY failed: stat /var/lib/docker/tmp/docker-builder632637939/crypto: no such file or directory Pulling insurance-ca (insurance-ca:)... ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing. Continue with the new image? [yN]N
I reviewed the issues #72 and #68 and updated my
peer-base.yaml file, by replacing the line
CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=build-blockchain-insurance-app_default
with CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=buildblockchaininsuranceapp_default
I tried again and have got the same error.
Do you have any more suggestion to fix this issue?
The text was updated successfully, but these errors were encountered: