You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is generated: Error: Trailing "/" installs not supported installing https://esm.sh/*tslib@2.6.1/ for https://esm.sh/v130/react-intl@6.4.4/X-ZS8q/esnext/lib.js
The text was updated successfully, but these errors were encountered:
Thanks for posting, The problem here is that JSPM is seeing the "tslib": "https://esm.sh/*tslib@2.6.1" mapping for tslib as mapping into the package boundary, since it isn't a full resolved module path to a .js file. JSPM always tracks the package boundary point to manage exports fields mappings, so in this case it's seeing the mapping as being the package boundary itself using that locked mapping during regeneration, and then not supporting it.
The original concept behind trailing "/" installs was being able to do something like jspm install pkg/ and install all exports of the package at once something like a wildcard. But in this position that error certainly makes no sense at all.
Reproduction steps:
jspm install react-intl --provider esm.sh
jspm install react-intl --provider esm.sh
Error: Trailing "/" installs not supported installing https://esm.sh/*tslib@2.6.1/ for https://esm.sh/v130/react-intl@6.4.4/X-ZS8q/esnext/lib.js
The text was updated successfully, but these errors were encountered: