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

Named export 'AuroFormValidation' not found #170

Closed
blackfalcon opened this issue Mar 22, 2024 · 0 comments
Closed

Named export 'AuroFormValidation' not found #170

blackfalcon opened this issue Mar 22, 2024 · 0 comments
Assignees
Labels
auro-combobox not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes

Comments

@blackfalcon
Copy link
Member

blackfalcon commented Mar 22, 2024

Please verify the version of auro-combobox you have installed

@latest

Please describe the bug

Element has issue with named export and not supporting ESM/SSR development

@aurodesignsystem/auro-input/src/base-input.js:20
import { AuroFormValidation } from '@aurodesignsystem/auro-formvalidation/src/validation.js';
         ^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'AuroFormValidation' not found. The requested module '@aurodesignsystem/auro-formvalidation/src/validation.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@aurodesignsystem/auro-formvalidation/src/validation.js';

Reproducing the error on the docsite

This issue cannot be reproduced on the Auro docsite

Expected behavior

No error log

Exit criteria

This issue can be resolved once the library is correctly called into the base-input.js and the auro-formvalidation has been updated.

What browsers are you seeing the problem on?

No response

Additional context

There is a companion issue to address auro-formvalidation. This issue cannot be closed until this issue is resolved and an update is released.

@blackfalcon blackfalcon added not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes auro-combobox labels Mar 22, 2024
@blackfalcon blackfalcon changed the title [issue summary] Please verify version before submitting new issue Named export 'AuroFormValidation' not found Mar 22, 2024
@blackfalcon blackfalcon closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-combobox not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants