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

Microbundle error? No exported member #1

Closed
markojak opened this issue Mar 2, 2022 · 4 comments
Closed

Microbundle error? No exported member #1

markojak opened this issue Mar 2, 2022 · 4 comments

Comments

@markojak
Copy link

markojak commented Mar 2, 2022

This looks awesome. Cloned the main branch to see if I could get it to work and after yarn install and then yarn start I'm getting this error

Can you help

(rpt2 plugin) Error: /Users/x/workspace/react-cmdk/src/index.tsx(5,10): semantic error TS2724: Module '"../node_modules/twind/twind"' has no exported member 'tw'. Did you mean 'TW'?
@markojak
Copy link
Author

markojak commented Mar 2, 2022

WorkAround
I added the following in my package.json -

"resolutions": {
    "**/typescript": "^4.1.5",
    "**/@typescript-eslint/eslint-plugin": "^4.15.1",
    "**/@typescript-eslint/parser": "^4.15.1"
  }

Then I ran the following
yarn add --dev typescript@latest @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest

@markojak
Copy link
Author

markojak commented Mar 2, 2022

In general would be good to be able to get a development environment up so that I can help contribute.

@albingroen
Copy link
Owner

Yeah I don't know. microbundle-crl is pretty flakey, and this should probably be redone with something else.

@albingroen
Copy link
Owner

@markojak The project is now re-architected and uses tsdx so it should be pretty seamless to get a local development environment up and running.

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

No branches or pull requests

2 participants