-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Preinstall not called before try to install and collect packages information #4914
Comments
Same here. I use |
This comment was marked as outdated.
This comment was marked as outdated.
It still doesn't work in 1.1.7. # bunfig.toml
[install]
registry = "https://registry.npmjs.org"
[install.scopes]
"@company" = { url = "https://etc.amazonaws.com/npm/packages/", token = "$CODEARTIFACT_AUTH_TOKEN" }
|
@mryraghi |
Gotcha—thanks for clarifying. However, I get into this issue even when installing. Sometime it works, sometime it doesn't. It's a nightmare... |
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a79
What platform is your computer?
Darwin 21.6.0 arm64 arm
What steps can reproduce the bug?
If you are using local dependencies which are only available after calling
preinstall
bun will fail.e.g.:
What is the expected behavior?
First call the
preinstall
script before try todo theinstall
.What do you see instead?
Additional information
Following works:
The text was updated successfully, but these errors were encountered: