Closed MasterCarl closed 1 month ago
This is a bug - you should be able to add '@hyperdx/lucene`. Would you be able to provide a reproduction? 🙏
Would you be able to provide a reproduction? 🙏
This issue was closed because it was open for 7 days without a reproduction.
Describe the feature
Summary
Warn users about incorrect
@scoped/package
usage instead ofscoped/package
inbuild.transpile
array.Background
Following an upgrade from Nuxt 3.12.4 to 3.13.1, usage of the
@hyperdx/lucene
from another Nuxt layer suddenly threw an error:This issue seems related to https://github.com/nuxt/nuxt/issues/28631
I was able to solve the problem by adding
to my
nuxt.config.ts
. As pointed out in https://github.com/nuxt/nuxt/issues/24064#issuecomment-1788740269,the
@
scope prefix from the npm package name needed to be omitted.It would be helpful to get a warning or error message about the (presumably) incorrect
@
prefixing of packages to be transpired.Alternatives and questions
@scoped/package
s?Additional information
Final checks