-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
bug: yarn
will remove hyper-nano
binary and __hyper__
directory on yarn install
#537
Labels
Comments
TillaTheHun0
changed the title
bug:
bug: Oct 18, 2022
yarn
will remove hyper-nano
binary and __hyper__
folder on yarn install
yarn
will remove hyper-nano
binary and __hyper__
directory on yarn install
As part of downloading the binary i'll need to also verify the integrity as highlighted in #534. I have a close to working solution for that, just have to tidy it up. |
TillaTheHun0
added a commit
that referenced
this issue
May 30, 2023
…nd __hyper__ directory #537" BREAKING CHANGE: the __hyper__ directory and the hyper-nano binary will now be placed in the current working directory. Both should be added to a .gitignore so that they are not committed to source control
TillaTheHun0
added a commit
that referenced
this issue
May 30, 2023
TillaTheHun0
added a commit
that referenced
this issue
May 30, 2023
…nd __hyper__ directory #537" BREAKING CHANGE: the __hyper__ directory and the hyper-nano binary will now be placed in the current working directory. Both should be added to a .gitignore so that they are not committed to source control
TillaTheHun0
added a commit
that referenced
this issue
May 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Background
Right now,
npx hyper-nano
will download the hyper nano binary to thenode_modules/hyper-nano/bin
directory, and add the__hyper__
directory in the same place, for running services.Problem
When
yarn
is ran, this removes the binary as well as the__hyper__
directory, effectively deleting all of the local data. This isn't a great DX for local developmentSolution
I will probably need to download the binary to a cache folder outside of
node_modules
ie. how Cypress downloads its binaryFor the
__hyper__
folder, we can either also store in the global cache, or place it at the root of the project, similar to hownext
does it. Right now,hyper-nano
just uses thecwd
to place the__hyper__
directory, so we will have to add a config option for that.Workaround
Downloading the binary directly from
s3
, placing it where you'd like it, and then running it directly, instead of vianpx
, will get around this issue, until a solution is implemented.The text was updated successfully, but these errors were encountered: