Skip to content
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

Docker compose not building successfully on macos #3158

Closed
jaycoolslm opened this issue Jan 29, 2024 · 5 comments
Closed

Docker compose not building successfully on macos #3158

jaycoolslm opened this issue Jan 29, 2024 · 5 comments
Assignees
Labels
bug Something isn't working community

Comments

@jaycoolslm
Copy link

jaycoolslm commented Jan 29, 2024

Problem description

I am trying to run the docker images using compose on my Mac Studio with local ipfs node and it is not working.

worker-service-1 interfacesmodulebuilder is failing with:

...
 => CACHED [worker-service-1 interfacesmodulebuilder 6/7] RUN yarn install                                                                                                                                         0.0s
 => ERROR [worker-service-1 interfacesmodulebuilder 7/7] RUN yarn pack                                                                                                                                             1.9s
------                                                                                                                                                                                                                  
 > [worker-service-1 interfacesmodulebuilder 7/7] RUN yarn pack:                                                                                                                                                        
#0 0.212 yarn pack v1.22.19                                                                                                                                                                                             
#0 0.225 $ npm run build                                                                                                                                                                                                
#0 0.372                                                                                                                                                                                                                
#0 0.372 > @guardian/interfaces@2.20.1 build
#0 0.372 > tsc
#0 0.372 
#0 1.759 node_modules/chokidar/types/index.d.ts(9,14): error TS2420: Class 'import("/usr/local/interfaces/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
#0 1.759   Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
#0 1.872 npm notice 
#0 1.872 npm notice New major version of npm available! 8.19.4 -> 10.4.0
#0 1.872 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#0 1.872 npm notice Run `npm install -g npm@10.4.0` to update!
#0 1.872 npm notice 
#0 1.890 error Command failed with exit code 2.
#0 1.890 info Visit https://yarnpkg.com/en/docs/cli/pack for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn pack" did not complete successfully: exit code: 2

Step to reproduce

Steps to reproduce the behavior:

  1. clone repo
  2. add guardian env name e.g. "bioloop"
  3. configs/.env..guardian.system -> configs/.env.bioloop.guardian.system
    4.HEDERA_NET="testnet"
    PREUSED_HEDERA_NET="mainnet"
  4. IPFS_PROVIDER="local" # 'web3storage' or 'local'
    IPFS_PUBLIC_GATEWAY='https://localhost:8080/ipfs/${cid}'
    IPFS_STORAGE_KEY="..."
    IPFS_STORAGE_PROOF="..."
    IPFS_NODE_ADDRESS="http://localhost:5001"
  5. docker compose up -d --build

Expected behavior

All images should successfully run

Screenshots

If applicable, add screenshots to help explain your problem.

@prernaadev01 prernaadev01 added bug Something isn't working community labels Jan 30, 2024
@justin-atwell
Copy link
Collaborator

@dubgeis hackathon ticket.

@jaycoolslm
Copy link
Author

same thing when trying to build with web3storage

@MarcAntoineLebourgeois
Copy link

same as well

@luciamunozdev
Copy link

same error

@bbosch-d
Copy link

bbosch-d commented Feb 1, 2024

Same error here on MacOS 14.1.2. Tried to build commit dd3b49 with web3storage/w3up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community
Projects
None yet
Development

No branches or pull requests

7 participants