-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not map moduleDetection force
when running npm run prepack
#297
Comments
Got the exact same issue in this repository: |
Same error here after upgrading typescript to 5.5.2. The error went away after downgrading typescript to 5.4.5 |
This allows the command to be run successfully, but the 'Could not map moduleDetection force |
I just tried downgrading Typescript and now i have this error:
|
I get the same
When following the quick start steps: https://nuxt.com/docs/guide/going-further/modules#quick-start btw: downgrading to |
This is now resolved in |
Hello,
I've been running
@nuxt/module-builder
in version 0.5.5 for some time now, but when i tried updating to 0.8.0 the error written later popped up.I'm now upgrading to 0.6.0 only and face the same issue
I already tried:
module.ts
fileHere's the error:
I tried changing my tsconfig, resetting it to the one in the starter app, but nothing changes.
I think the problem might come from the module definition file:
I also have a tsconfig file for the playground and one for the tests folder that use vitest.
Here's the main tsconfig file:
Thanks for your help !
The text was updated successfully, but these errors were encountered: