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

auro-menu not working #208

Closed
Patrick-Daly-AA opened this issue Jun 26, 2024 · 0 comments · Fixed by #209 or #210
Closed

auro-menu not working #208

Patrick-Daly-AA opened this issue Jun 26, 2024 · 0 comments · Fixed by #209 or #210
Assignees
Labels
Type: Bug Bug or Bug fixes

Comments

@Patrick-Daly-AA
Copy link

Discussed in https://github.com/orgs/AlaskaAirlines/discussions/561

Originally posted by SDFlightOpsSupport June 26, 2024
Hello,

I am new to Auro, and I am trying to integrate auro-select in my React App (I am using React 18) with TS and I am getting the following error :

Module not found: Error: Can't resolve 'mark.js/dist/mark.min' in 'D:\Github\jetstreamui\JetstreamUI\node_modules@aurodesignsystem\auro-menu\src'
Did you mean 'mark.min.js'?

BREAKING CHANGE: The request 'mark.js/dist/mark.min' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@aurodesignsystem/auro-menu/src/auro-menu.js 9:0-31
Module not found: Error: Can't resolve 'mark.js/dist/mark.min' in 'D:\Github\jetstreamui\JetstreamUI\node_modules@aurodesignsystem\auro-menu\src'
Did you mean 'mark.min.js'?
BREAKING CHANGE: The request 'mark.js/dist/mark.min' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

ERROR in ./node_modules/@aurodesignsystem/auro-menu/src/auro-menuoption.js 7:0-73
Module not found: Error: Can't resolve '@alaskaairux/icons/dist/icons/interface/check-sm_es6' in 'D:\Github\jetstreamui\JetstreamUI\node_modules@aurodesignsystem\auro-menu\src'
Did you mean 'check-sm_es6.js'?
BREAKING CHANGE: The request '@alaskaairux/icons/dist/icons/interface/check-sm_es6' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

webpack compiled with 2 errors
No issues found.

For the sake of Troubleshooting following are the questions that were asked to me and answers for it

Can you tell me what version of Auro-Select you have installed?
2.10.4
image

I checked in npm website as well that is the latest version

You stated that you are using React 18 with TS, can you tell me if you are attempting to use a SSR build?
I am using pure React which performs CSR, I am not at all using any framework like Next JS or anything else.

Can you verify that the auro-menu component has also been installed in your app?
Yes I have. I have installed the way it was there in the website.
$ npm i @aurodesignsystem/auro-select

$ npm i @aurodesignsystem/auro-dropdown
$ npm i @aurodesignsystem/auro-menu

JFYI , maybe this will be helpful, the auro-dropdown is also having issue it seems that's the reason auro-select not working??

@Patrick-Daly-AA Patrick-Daly-AA transferred this issue from AlaskaAirlines/WC-Generator Jun 26, 2024
@Patrick-Daly-AA Patrick-Daly-AA changed the title auro-select not working auro-menu not working Jun 26, 2024
@Patrick-Daly-AA Patrick-Daly-AA removed their assignment Jun 26, 2024
@Patrick-Daly-AA Patrick-Daly-AA added the Type: Bug Bug or Bug fixes label Jun 26, 2024
blackfalcon pushed a commit that referenced this issue Jun 27, 2024
## [3.11.5](v3.11.4...v3.11.5) (2024-06-27)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([cd1ebf9](cd1ebf9))
@jason-capsule42 jason-capsule42 linked a pull request Jul 2, 2024 that will close this issue
6 tasks
jordanjones243 pushed a commit that referenced this issue Aug 26, 2024
* **imports:** update all imports to include extension in file path [#208](#208) ([cd1ebf9](cd1ebf9))
jason-capsule42 pushed a commit that referenced this issue Sep 30, 2024
* **imports:** update all imports to include extension in file path [#208](#208) ([cd1ebf9](cd1ebf9))
blackfalcon pushed a commit that referenced this issue Sep 30, 2024
# [4.0.0-beta.1](v3.12.0-beta.2...v4.0.0-beta.1) (2024-09-30)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([6c973cb](6c973cb))

### Features

* add component name as attribute during custom registration ([72eab39](72eab39))
* refactor color tokens to use tier 3 tokens [#198](#198) ([78f1435](78f1435))

### Performance Improvements

* **deps:** update to correct icon version ([973ddea](973ddea))
* **icon:** use auro-icon for selected check mark ([7326c17](7326c17))
* **icon:** use auro-icon for selected check mark ([cd086de](cd086de))
* refactor custom registration config ([78c786f](78c786f))
* update dependencies ([e61aa0e](e61aa0e))
* update dependencies and address lint issues ([dc36821](dc36821))
* update dependencies and use library scripts ([8c94769](8c94769))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([9b426da](9b426da))

### BREAKING CHANGES

* trigger major release for color theme support #198
jason-capsule42 pushed a commit that referenced this issue Oct 1, 2024
* **imports:** update all imports to include extension in file path [#208](#208) ([cd1ebf9](cd1ebf9))
jason-capsule42 pushed a commit that referenced this issue Oct 1, 2024
# [4.0.0-beta.1](v3.12.0-beta.2...v4.0.0-beta.1) (2024-09-30)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([6c973cb](6c973cb))

### Features

* add component name as attribute during custom registration ([72eab39](72eab39))
* refactor color tokens to use tier 3 tokens [#198](#198) ([78f1435](78f1435))

### Performance Improvements

* **deps:** update to correct icon version ([973ddea](973ddea))
* **icon:** use auro-icon for selected check mark ([7326c17](7326c17))
* **icon:** use auro-icon for selected check mark ([cd086de](cd086de))
* refactor custom registration config ([78c786f](78c786f))
* update dependencies ([e61aa0e](e61aa0e))
* update dependencies and address lint issues ([dc36821](dc36821))
* update dependencies and use library scripts ([8c94769](8c94769))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([9b426da](9b426da))

### BREAKING CHANGES

* trigger major release for color theme support #198
blackfalcon pushed a commit that referenced this issue Oct 1, 2024
# [4.0.0-beta.1](v3.11.9...v4.0.0-beta.1) (2024-10-01)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([7d3701a](7d3701a))
* **token:** update token name for container colors ([54a6aaf](54a6aaf))

### Features

* add component name as attribute during custom registration ([e9b22f9](e9b22f9))
* refactor color tokens to use tier 3 tokens [#198](#198) ([4553652](4553652))
* refactor color tokens to use tier 3 tokens [#198](#198) ([b26f06c](b26f06c))

### Performance Improvements

* **deps:** update to correct icon version ([5311cff](5311cff))
* **icon:** use auro-icon for selected check mark ([40ea982](40ea982))
* **icon:** use auro-icon for selected check mark ([8df2bc7](8df2bc7))
* refactor custom registration config ([7e12f20](7e12f20))
* remove label colors from github settings ([d3c2664](d3c2664))
* update dependencies ([025ca7a](025ca7a))
* update dependencies and address lint issues ([a3118b7](a3118b7))
* update dependencies and use library scripts ([009a89c](009a89c))
* update dependencies and use library scripts ([5cb5953](5cb5953))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([c2b80b3](c2b80b3))

### BREAKING CHANGES

* force major release for theme support
* trigger major release for color theme support #198
blackfalcon pushed a commit that referenced this issue Oct 1, 2024
# [4.0.0-beta.1](v3.11.9...v4.0.0-beta.1) (2024-10-01)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([7d3701a](7d3701a))
* **token:** update token name for container colors ([54a6aaf](54a6aaf))

### Features

* add component name as attribute during custom registration ([e9b22f9](e9b22f9))
* refactor color tokens to use tier 3 tokens [#198](#198) ([4553652](4553652))
* refactor color tokens to use tier 3 tokens [#198](#198) ([b26f06c](b26f06c))

### Performance Improvements

* **deps:** update to correct icon version ([5311cff](5311cff))
* **icon:** use auro-icon for selected check mark ([40ea982](40ea982))
* **icon:** use auro-icon for selected check mark ([8df2bc7](8df2bc7))
* refactor custom registration config ([7e12f20](7e12f20))
* remove label colors from github settings ([d3c2664](d3c2664))
* update dependencies ([025ca7a](025ca7a))
* update dependencies and address lint issues ([a3118b7](a3118b7))
* update dependencies and use library scripts ([009a89c](009a89c))
* update dependencies and use library scripts ([5cb5953](5cb5953))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([c2b80b3](c2b80b3))

### BREAKING CHANGES

* force major release for theme support
* trigger major release for color theme support #198
jason-capsule42 pushed a commit that referenced this issue Oct 1, 2024
* **imports:** update all imports to include extension in file path [#208](#208) ([cd1ebf9](cd1ebf9))
jason-capsule42 pushed a commit that referenced this issue Oct 1, 2024
# [4.0.0-beta.1](v3.12.0-beta.2...v4.0.0-beta.1) (2024-09-30)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([6c973cb](6c973cb))

### Features

* add component name as attribute during custom registration ([72eab39](72eab39))
* refactor color tokens to use tier 3 tokens [#198](#198) ([78f1435](78f1435))

### Performance Improvements

* **deps:** update to correct icon version ([973ddea](973ddea))
* **icon:** use auro-icon for selected check mark ([7326c17](7326c17))
* **icon:** use auro-icon for selected check mark ([cd086de](cd086de))
* refactor custom registration config ([78c786f](78c786f))
* update dependencies ([e61aa0e](e61aa0e))
* update dependencies and address lint issues ([dc36821](dc36821))
* update dependencies and use library scripts ([8c94769](8c94769))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([9b426da](9b426da))

### BREAKING CHANGES

* trigger major release for color theme support #198
jason-capsule42 pushed a commit that referenced this issue Oct 1, 2024
# [4.0.0-beta.1](v3.11.9...v4.0.0-beta.1) (2024-10-01)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([7d3701a](7d3701a))
* **token:** update token name for container colors ([54a6aaf](54a6aaf))

### Features

* add component name as attribute during custom registration ([e9b22f9](e9b22f9))
* refactor color tokens to use tier 3 tokens [#198](#198) ([4553652](4553652))
* refactor color tokens to use tier 3 tokens [#198](#198) ([b26f06c](b26f06c))

### Performance Improvements

* **deps:** update to correct icon version ([5311cff](5311cff))
* **icon:** use auro-icon for selected check mark ([40ea982](40ea982))
* **icon:** use auro-icon for selected check mark ([8df2bc7](8df2bc7))
* refactor custom registration config ([7e12f20](7e12f20))
* remove label colors from github settings ([d3c2664](d3c2664))
* update dependencies ([025ca7a](025ca7a))
* update dependencies and address lint issues ([a3118b7](a3118b7))
* update dependencies and use library scripts ([009a89c](009a89c))
* update dependencies and use library scripts ([5cb5953](5cb5953))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([c2b80b3](c2b80b3))

### BREAKING CHANGES

* force major release for theme support
* trigger major release for color theme support #198
jason-capsule42 pushed a commit that referenced this issue Oct 1, 2024
# [4.0.0-beta.1](v3.11.9...v4.0.0-beta.1) (2024-10-01)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([7d3701a](7d3701a))
* **token:** update token name for container colors ([54a6aaf](54a6aaf))

### Features

* add component name as attribute during custom registration ([e9b22f9](e9b22f9))
* refactor color tokens to use tier 3 tokens [#198](#198) ([4553652](4553652))
* refactor color tokens to use tier 3 tokens [#198](#198) ([b26f06c](b26f06c))

### Performance Improvements

* **deps:** update to correct icon version ([5311cff](5311cff))
* **icon:** use auro-icon for selected check mark ([40ea982](40ea982))
* **icon:** use auro-icon for selected check mark ([8df2bc7](8df2bc7))
* refactor custom registration config ([7e12f20](7e12f20))
* remove label colors from github settings ([d3c2664](d3c2664))
* update dependencies ([025ca7a](025ca7a))
* update dependencies and address lint issues ([a3118b7](a3118b7))
* update dependencies and use library scripts ([009a89c](009a89c))
* update dependencies and use library scripts ([5cb5953](5cb5953))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([c2b80b3](c2b80b3))

### BREAKING CHANGES

* force major release for theme support
* trigger major release for color theme support #198
blackfalcon pushed a commit that referenced this issue Oct 1, 2024
# [4.0.0](v3.11.9...v4.0.0) (2024-10-01)

### Bug Fixes

* **imports:** update all imports to include extension in file path [#208](#208) ([b8c2507](b8c2507))
* **token:** update token name for container colors ([f6d072e](f6d072e))

### Features

* add component name as attribute during custom registration ([af8bb94](af8bb94))
* refactor color tokens to use tier 3 tokens [#198](#198) ([1711058](1711058))
* refactor color tokens to use tier 3 tokens [#198](#198) ([f98820c](f98820c))

### Performance Improvements

* **deps:** update to correct icon version ([2cd1f4e](2cd1f4e))
* **icon:** use auro-icon for selected check mark ([9304084](9304084))
* **icon:** use auro-icon for selected check mark ([c90916b](c90916b))
* refactor custom registration config ([af78b41](af78b41))
* remove label colors from github settings ([81ff3b9](81ff3b9))
* update dependencies ([7483ccc](7483ccc))
* update dependencies ([c1254bf](c1254bf))
* update dependencies and address lint issues ([d841f93](d841f93))
* update dependencies and use library scripts ([a0ec762](a0ec762))
* update dependencies and use library scripts ([5bbcb89](5bbcb89))

### Reverts

* Revert "perf(icon): use auro-icon for selected check mark" ([bbcde9b](bbcde9b))

### BREAKING CHANGES

* trigger major release for color theme support #198
* force major release for theme support
* trigger major release for color theme support #198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
2 participants