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

SyntaxError: Named export 'AppClasses' not found. #44

Closed
5 of 6 tasks
tranhoang1010vn opened this issue Apr 20, 2022 · 4 comments
Closed
5 of 6 tasks

SyntaxError: Named export 'AppClasses' not found. #44

tranhoang1010vn opened this issue Apr 20, 2022 · 4 comments
Labels
missing demo Issue requires live reproduction example React Issue with Tailwind Mobile React

Comments

@tranhoang1010vn
Copy link

tranhoang1010vn commented Apr 20, 2022

Check that this is really a bug

  • I confirm

Reproduction link

https://github.com/tranhoang1010vn/nextjs-konsta.git

Bug description

error - SyntaxError: Named export 'AppClasses' not found. The requested module '../../../shared/esm/classes/AppClasses.js'
is a CommonJS module, which may not support all module.exports as named exports.

file:///D:/Repo-Nextjs-QLGV/node_modules/konsta/react/esm/components/App.js:6
import { AppClasses } from '../../../shared/esm/classes/AppClasses.js';
^^^^^^^^^^
SyntaxError: Named export 'AppClasses' not found. The requested module '../../../shared/esm/classes/AppClasses.js' is a CommonJS module, which may not support all module.exports as named exports.

I use dependencies : {
"axios": "^0.26.1",
"konsta": "^0.8.1",
"next": "^12.1.5",
"next-auth": "^4.3.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},

Expected Behavior

No response

Actual Behavior

No response

Konsta UI version

0.8.1

Platform/Target and Browser Versions

Windows 10

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Konsta UI issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@tranhoang1010vn tranhoang1010vn added the React Issue with Tailwind Mobile React label Apr 20, 2022
@nolimits4web nolimits4web added the missing demo Issue requires live reproduction example label Apr 20, 2022
@github-actions
Copy link

Hello @tranhoang1010vn. Please provide a online reproduction by Stack Blitz or a minimal GitHub repository. You can fork this Stack Blitz to get start. Issues labeled by missing demo will be closed if no activities in 3 days.

@tranhoang1010vn
Copy link
Author

I'm updated demo, sr

@nolimits4web
Copy link
Member

should be fixed in 0.8.2

@tranhoang1010vn
Copy link
Author

thank you! it's work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing demo Issue requires live reproduction example React Issue with Tailwind Mobile React
Projects
None yet
Development

No branches or pull requests

2 participants