Skip to content

Conversation

samuelstroschein
Copy link
Contributor

Fixes this error message below.

Why the error occurs is unknown and might be specific to nextjs. But, adding node to the export path fixes the issue.

 ⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error

> Build error occurred
[Error: No "exports" main defined in /Users/samuel/git-repos/monorepo/packages/sqlite-wasm-kysely/node_modules/@sqlite.org/sqlite-wasm/package.json] {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Copy link
Collaborator

@tomayac tomayac left a comment

Choose a reason for hiding this comment

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

LGTM, approval

I don't know why this would fail either, but if your fix works, let's run with it. Will release a new build in a moment.

Thanks!

@tomayac tomayac merged commit df648dc into sqlite:main Jan 22, 2025
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