enkot / nuxt-open-fetch

Generate zero-overhead, typed OpenAPI clients for Nuxt.
https://nuxt-open-fetch.vercel.app
MIT License
131 stars 12 forks source link

Getting "Failed to resolve import" after upgrading to 0.9.1 from 0.8.0 #63

Open tokula opened 3 weeks ago

tokula commented 3 weeks ago

Environment

Nuxt project info: 20.02.21


Reproduction

https://github.com/tokula/nuxt-open-fetch-issue

Describe the bug

After upgrading from 0.8.0 to 0.9.1 I get:

Pre-transform error: Failed to resolve import "#open-fetch-schemas/pets-api" from "utils/petutils.ts". Does the file exist?

In the minimal reproduction you should get the error after upgrading to 0.9.1.

I'm guessing it could be related to this change https://github.com/enkot/nuxt-open-fetch/pull/47

Additional context

No response

Logs

No response

schillerenrico commented 1 day ago

guess this is related https://github.com/enkot/nuxt-open-fetch/issues/71