We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cmdk/cmdk/src/index.tsx
Line 8 in 9827edf
It seems that when transpiling this with React 19 support it provides the error
Attempted import error: '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' is not exported from 'react' (imported as 'React93').
Looking at the transpiled code (only reference to the usage of the require_use_sync_external_store_shim_development method)
require_use_sync_external_store_shim_development
// ../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js import * as React91 from "react"; var require_use_sync_external_store_shim_development = __commonJS((exports) => { // ... var ReactSharedInternals = React91.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // ... // ../../node_modules/use-sync-external-store/shim/index.js var require_shim = __commonJS((exports, module) => { if (false) { } else { module.exports = require_use_sync_external_store_shim_development(); } }); // ../../node_modules/cmdk/dist/index.mjs import * as n56 from "react"; var import_shim = __toESM(require_shim(), 1); ...
Solution would be to not use the use-sync-external-store module, which only seems to be used in https://github.com/pacocoursey/cmdk/blob/9827edf89fc663e24188f9d715a0dca01a736d6d/cmdk/src/index.tsx
use-sync-external-store
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cmdk/cmdk/src/index.tsx
Line 8 in 9827edf
It seems that when transpiling this with React 19 support it provides the error
Looking at the transpiled code (only reference to the usage of the
require_use_sync_external_store_shim_development
method)Solution would be to not use the
use-sync-external-store
module, which only seems to be used in https://github.com/pacocoursey/cmdk/blob/9827edf89fc663e24188f9d715a0dca01a736d6d/cmdk/src/index.tsxThe text was updated successfully, but these errors were encountered: