WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@12joan
Copy link
Contributor

@12joan 12joan commented Aug 13, 2025

It looks like CI was broken with the release of Node 22.18.0.

This PR patches the issue by pinning to 22.17.1, but we should look into fixing compatibility with later Node versions.

file:///home/runner/work/slate/slate/packages/slate/test/interfaces/CustomTypes/custom-types.ts:2
  BaseEditor,
  ^^^^^^^^^^
SyntaxError: Named export 'BaseEditor' not found. The requested module 'slate' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'slate';

@changeset-bot
Copy link

changeset-bot bot commented Aug 13, 2025

⚠️ No Changeset found

Latest commit: 5fda7f2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@12joan 12joan changed the title Attempt to fix CI Fix CI by pinning Node to 22.17.1 Aug 13, 2025
@dylans dylans merged commit 7fdf77a into ianstormtaylor:main Aug 13, 2025
11 checks passed
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.

2 participants