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

cli create contracts-foundry template does not download properly #926

Closed
jimmychu0807 opened this issue Dec 18, 2024 · 3 comments
Closed
Labels
bug 🐛 Something isn't working

Comments

@jimmychu0807
Copy link
Contributor

jimmychu0807 commented Dec 18, 2024

Running npx @semaphore-protocol/cli create test-foundry yields the following:

$ npx @semaphore-protocol/cli create test-foundry

? Select one of the supported templates: contracts-foundry (Foundry)
 ⠦ Creating your project in ./test-foundrynode:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOENT: no such file or directory, open '~/src/hkwtf/semaphore-aa/test-foundry/files.tgz'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '~/src/hkwtf/semaphore-aa/test-foundry/files.tgz'
}

Node.js v20.11.0

I will look into this. Feel free to assign it to me.

@jimmychu0807 jimmychu0807 added the bug 🐛 Something isn't working label Dec 18, 2024
@jimmychu0807 jimmychu0807 changed the title Running cli with template-contracts-foundry returns error cli create contracts-foundry template does not download properly Dec 18, 2024
@vplasencia
Copy link
Member

Hey @jimmychu0807 thank you very much for creating the issue. This should be solved in v4.8.1. This prepublish script was missing: https://github.com/semaphore-protocol/semaphore/pull/927/files#diff-f510080d350f38b28e83b2b962ef8def0ebcd3d36a942cbca7b33e7017dae838R27

Can you try again and let me know?

@jimmychu0807
Copy link
Contributor Author

@vplasencia just tested and it works fine now. Thanks for the fix.

@vplasencia
Copy link
Member

@jimmychu0807 great! Thank you!

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

No branches or pull requests

2 participants