Skip to content
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

[BUG]: drizzle-kit pull errors with Package subpath './singlestore-core' is not defined #3832

Open
1 task done
eedmond opened this issue Dec 24, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@eedmond
Copy link

eedmond commented Dec 24, 2024

Report hasn't been filed before.

  • I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?

0.36.4

What version of drizzle-kit are you using?

0.30.1

Other packages

No response

Describe the Bug

I updated drizzle-kit to 0.30.1 and ran npx drizzle-kit pull and get the following error. Note that after I downgraded to 0.28.1, I was able to run this successfully with no errors.

# npx drizzle-kit pull
No config path provided, using default 'drizzle.config.ts'
Reading config file '/root/project/drizzle.config.ts'
Pulling from ['public'] list of schemas

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './singlestore-core' is not defined by "exports" in /root/project/node_modules/drizzle-orm/package.json
    at exportsNotFound (node:internal/modules/esm/resolve:296:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:643:9)
    at resolveExports (node:internal/modules/cjs/loader:639:36)
    at Module._findPath (node:internal/modules/cjs/loader:747:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1234:27)
    at Module._load (node:internal/modules/cjs/loader:1074:27)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at Module.require (node:internal/modules/cjs/loader:1339:12)
    at require (node:internal/modules/helpers:125:16) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
@eedmond eedmond added the bug Something isn't working label Dec 24, 2024
@AndriiSherman
Copy link
Member

please upgrade drizzle-orm to the latest to make it work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants