🐛 The bug
Failed to start nuxt.
It starts correctly with @nuxtjs/composition-api version 0.24.7, but not with 0.25.1.
✖ Nuxt Fatal Error
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath
'./dist/vue-composition-api.esm.js' is not defined by
"exports" in /workspace/my_projects/node_modules/@vue/composition-api/package.json
🛠️ To reproduce
Steps to reproduce the behavior:
Environment:
🌈 Expected behaviour
I hope that nuxt will work correctly as in version 0.24.7.
@masayuki-tsuji What is your version of @vue/composition-api? Here's a working reproduction.
@danielroe The version of @vue/composition-api is 1.0.4.
@masayuki-tsuji You may simply need to upgrade your version of Node to a newer v12 with support for subpath exports with patterns. But if that doesn't work, would you provide a reproduction? :pray:
@danielroe
I upgraded node from v12.18.4 to the latest v12.22.3 and that solved the problem.
Thank you very much!