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

Module not found: Error: Can't resolve 'clsx' #16

Closed
QuesoCaliente opened this issue Feb 1, 2023 · 2 comments
Closed

Module not found: Error: Can't resolve 'clsx' #16

QuesoCaliente opened this issue Feb 1, 2023 · 2 comments

Comments

@QuesoCaliente
Copy link

I think the new version does not work, you could check it, I also tried to manually apply the changes regarding the problem of not being able to click on the sides of the modal but it is not a valid solution either, it did not change nothing, the solution I initially offered could be applied to the component Dialog and also fix it

image

@pheralb
Copy link
Owner

pheralb commented Feb 2, 2023

Thanks for the report, I will fix it 🚀.

@pheralb
Copy link
Owner

pheralb commented Feb 2, 2023

🎉 Fixed in v0.2.2.

  • ✅ Module not found: Error: Can't resolve 'clsx' when building to production:

Using Next.js 13 + /pages:

> next build

info  - Linting and checking validity of types
info  - Creating an optimized production build
info  - Compiled successfully
info  - Collecting page data
info  - Generating static pages (3/3)
info  - Finalizing page optimization

Route (pages)                              Size     First Load JS
┌ ○ /                                      20.4 kB        93.5 kB
├   └ css/77e878d72d98d937.css             1.86 kB
├   /_app                                  0 B            73.1 kB
├ ○ /404                                   181 B          73.3 kB
└ λ /api/hello                             0 B            73.1 kB
+ First Load JS shared by all              75.9 kB
  ├ chunks/framework-2c79e2a64abdb08b.js   45.2 kB
  ├ chunks/main-f11614d8aa7ee555.js        26.8 kB
  ├ chunks/pages/_app-2cd5058a061812ad.js  307 B
  ├ chunks/webpack-8fa1640cc84ba8fe.js     750 B
  └ css/41d6bc5ddf0de1e4.css               2.77 kB

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)
  • ✅ Fixed the problem of closing the CommandPalette by clicking on the sides - Check.

Thanks for the report 🚀🚀

@pheralb pheralb closed this as completed Feb 2, 2023
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