Skip to content

Conversation

@arcanis
Copy link
Member

@arcanis arcanis commented Oct 24, 2023

What's the problem this PR addresses?

The last blocker for running Yarn on Nodebox is the lack of v8.serialize support.

How did you fix it?

Since the install state file is optional, we can just skip writing it.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

}

async persistInstallStateFile() {
if (!v8.serialize)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (!v8.serialize)
// TODO: Remove when Nodebox supports the v8 API
if (!v8.serialize)

Ideally with a link to an issue so we can track it.

@merceyz
Copy link
Member

merceyz commented Oct 24, 2023

Unsure if we should be modifying Yarn to work with other runtimes.

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

Successfully merging this pull request may close these issues.

3 participants