Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Soft fail if workerd npm postinstall script fails #639

Merged
merged 1 commit into from
May 11, 2023

Conversation

mrbbot
Copy link
Contributor

@mrbbot mrbbot commented May 11, 2023

We're planning to add workerd as a hard dependency of wrangler. If workerd fails to install, we'd still like the wrangler install to succeed, so users can use remote dev and the rest of the commands. This logs the error instead of throwing, allowing the postinstall to "succeed".

@mrbbot mrbbot requested a review from penalosa May 11, 2023 13:43
We're planning to add `workerd` as a hard dependency of `wrangler`.
If `workerd` fails to install, we'd still like the `wrangler` install
to succeed, so they can use remote dev and the rest of the commands.
This logs the error instead of throwing, allowing the `postinstall`
to "succeed".
@mrbbot mrbbot merged commit a26ce35 into main May 11, 2023
@mrbbot mrbbot deleted the bcoll/npm-workerd-soft-fail-validation branch May 11, 2023 16:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants