ignite / cli

Ignite is a CLI tool and hub designed for constructing Proof of Stake Blockchains rooted in Cosmos-SDK
https://ignite.com
Other
1.26k stars 549 forks source link

`generate hooks` fails with `text file busy` #3632

Closed fmorency closed 1 year ago

fmorency commented 1 year ago

Describe the bug The ignite generate hooks command fails with

✘ Cannot build app:                                                                                                                                                                                                                                                                               

error while running command /tmp/swagger-combine3968971389 swagger-combine /tmp/314441868.json -o /tmp/gen-js-openapi-module-spec3350581311/apidocs.swagger.json -f yaml --continueOnConflictingPaths true --includeDefinitions true: : fork/exec /tmp/swagger-combine3968971389: text file busy

This is reproducible 100% of the time.

To reproduce Steps to reproduce the behavior:

  1. ignite scaffold chain test-chain-2
  2. cd test-chain-2
  3. ignite scaffold react
  4. ignite generate hooks

What version are you using? Ignite CLI version: v0.27.1-dev Ignite CLI build date: 2023-08-23T09:59:19Z Ignite CLI source hash: 6cb985b5523b34d29dd99c05b15c72c10ea838a3 Ignite CLI config version: v1 Cosmos SDK version: v0.47.3 Your OS: linux Your arch: amd64 Your Node.js version: v18.16.1 Your go version: go version go1.21.0 linux/amd64 Your uname -a: Linux lemurpro 5.10.189-1-MANJARO #1 SMP PREEMPT Wed Aug 9 06:30:25 UTC 2023 x86_64 GNU/Linux Your cwd: /home/fmorency/dev/test-chain-2 Is on Gitpod: false

ioudan commented 1 year ago

I also experienced the same situation. After restoring the Linux system and reinstalling ignite, it worked fine

Pantani commented 1 year ago

@fmorency should work now. The fix is in the main branch, and we will release it soon! Feel free to open the issue again if there is any trouble. Thanks