Open NaCoLiu opened 1 year ago
Likely due to this change to tslib
exports, you can override the version to one that works
{
"pnpm": {
"overrides": {
"tslib": "2.5.1"
}
}
}
{
"resolutions": {
"tslib": "2.5.1"
}
}
@slavanossar thx bro.
@NaCoLiu I think leave this issue open, this module might need to be updated to use new exports from tslib
so the issue needs to be tracked
@slavanossar any resolution for npm?
@oosame you can try pinning the version by adding the required version as a dependency
npm install tslib@2.5.1 --save-dev
@oosame you can try pinning the version by adding the required version as a dependency
npm install tslib@2.5.1 --save-dev
thx bro.
Also need to check that package.json has "type": "module"
@slavanossar any resolution for npm?
{
"overrides": {
"tslib": "2.5.1"
}
}
Any updates on this? It'd be nice if this gets fixed in v5 and we could use the latest version tslib, since some other libraries need it.
@Sina-Afsharmanesh check one of these solutions. Both should work.
https://github.com/nuxt/nuxt/issues/19265#issuecomment-1702014262
just add to nuxt config
build: {
transpile: ['tslib']
}
Environment
Describe the bug
Expected behaviour
Reproduction
No response
Additional context
No response
Logs
No response