X [ERROR] Could not resolve "@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs"
node_modules/@aurodesignsystem/auro-combobox/src/auro-combobox.js:9:41:
9 │ import { AuroDependencyVersioning } from '@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs"
as external to exclude it from the bundle, which will remove this error.
The following code is how the app is importing the dependency
Please verify the version of auro-combobox you have installed
@latest
Please describe the bug
See this line in the code
https://github.com/AlaskaAirlines/auro-combobox/blob/fb4ab6f4aa1786578032ef8166eef2e4031530ad/src/auro-combobox.js#L9
This dependency is only listed as a
devDependency
and the user is unaware of needing to install it.https://github.com/AlaskaAirlines/auro-combobox/blob/fb4ab6f4aa1786578032ef8166eef2e4031530ad/package.json#L22-L35
Reproducing the error
This issue cannot be reproduced on the Auro docsite
Expected behavior
All dependencies, direct or peer, need to be listed properly so that the user has all the dependencies to have a successful install.
Recommendation
Remove
@aurodesignsystem/auro-library
fromdevDependencies
and add topeerDependencies
per recommendation of this Discussion https://github.com/AlaskaAirlines/WC-Generator/discussions/505#discussioncomment-8611241What browsers are you seeing the problem on?
No response
Additional context
Please manage this issue with https://github.com/AlaskaAirlines/auro-combobox/issues/167 into the same PR for a single release.
This bug was reported with the following error
The following code is how the app is importing the dependency
Exit criteria
This issue can be closed once the dependencies have updated and validated with a local install.