Steisky
Steisky
NNuxt
Created by Steisky on 6/1/2024 in #❓・help
The requested module does not provide an export named ...
Hi, I have types in types directory in my project. With them I also have corresponding util functions (to create empty objects of that type). Hovewer when I go to page that imports the types (in this instance page test I get 500 with the following message
The requested module '/_nuxt/types/quiz/question/QuizQuestion.ts' does not provide an export named 'toApiQuizQuestion'
The requested module '/_nuxt/types/quiz/question/QuizQuestion.ts' does not provide an export named 'toApiQuizQuestion'
This happens on the first load of the app. If I rename the export, save, then rename it back it is picked up by nuxt. Does anyone have a tip what could be wrong? Here is the repo with reproduction. Just start the app and navigate to the test page https://github.com/steisky/nuxt3-reproduction
1 replies