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

Unable to initialize envio repository #395

Open
JasoonS opened this issue Dec 22, 2024 · 5 comments
Open

Unable to initialize envio repository #395

JasoonS opened this issue Dec 22, 2024 · 5 comments

Comments

@JasoonS
Copy link
Contributor

JasoonS commented Dec 22, 2024

Message from Discord:
GM - i'm new to Envio/hyperindex - trying it out for a project but not getting far. Ive done multiple installations from scratch on multiple VMs and they all fail at the codegen step after using envio init

here is the output

`envio init

Specify a folder name (ENTER to skip): testXYZ
Which language would you like to use? TypeScript
Choose blockchain ecosystem Evm
Choose an initialization option Template
Which template would you like to use? Erc20
Add an API token for HyperSync to your .env file? Skip for now, I'll add later
You can always visit 'https://envio.dev/app/api-tokens' and add a token later to your .env file.
Project template ready
Running codegen
Installing packages...
Checking for pnpm package...
9.15.1
Package pnpm is already installed. Continuing...
Scope: all 2 workspace projects
 WARN  There are cyclic workspace dependencies: /root/testXYZ, /root/testXYZ/generated
 ERR_PNPM_LINKED_PKG_DIR_NOT_FOUND  Could not install from "/root/.cargo/bin/envio/../../../cli/npm/envio" as it does not exist.

This error happened while installing a direct dependency of /root/testXYZ
Progress: resolved 1, reused 0, downloaded 0, added 0
Please run cd testXYZ to run the rest of the envio commands`

@JasoonS
Copy link
Contributor Author

JasoonS commented Dec 22, 2024

What version of envio are you running when getting this issue?

@logicalabs
Copy link

this was on 2.11.6 - I did try a version from 3 weeks ago (just selected arbitrarily in case the issue was w/ a very recent version) --- but got the same result

@JasoonS
Copy link
Contributor Author

JasoonS commented Dec 22, 2024

What machines/OS have you run the indexer on?

@logicalabs
Copy link

ive tried from Ubuntu and Debian

@logicalabs
Copy link

i was actually able to get this working by manually moving the "cli" folder (and all substuff) from the unpacked tar.gz into the directory that the error is apparently expecting it to be in (/root/ in my case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants