Closed jacktan165 closed 4 months ago
import this package from another package, and it will complain it cannot find it.
It is missing the "main" key in package.json, hence I get Cannot find module '@nuxt/test-utils' error.
Cannot find module '@nuxt/test-utils'
No response
This package is not usable in Nuxt 2 and it is ESM-only so it does not have a main entry.
main
Environment
Build Modules: -
Reproduction
import this package from another package, and it will complain it cannot find it.
Describe the bug
It is missing the "main" key in package.json, hence I get
Cannot find module '@nuxt/test-utils'
error.Additional context
No response
Logs
No response