-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
@tamagui/next-plugin
1.94.5 causes ERR_UNSUPPORTED_DIR_IMPORT
in a Nx monorepo
#2568
Comments
@tamagui/next-plugin
cause ERR_UNSUPPORTED_DIR_IMPORT
in a Nx monorepo@tamagui/next-plugin
1.94.5 causes ERR_UNSUPPORTED_DIR_IMPORT
in a Nx monorepo
try |
NextJS apps don't have |
In the |
ok does that helped? |
No. There aren't options to define the module in Nx Next plugin in And I also tried to add a simple {
"name": "name",
"version": "0.0.0",
"private": true,
"type": "module"
} New Nx projects don't come with package.json by default. |
I think Nx doesn't need |
+1 here; I added
Edit: Everything is working fine up to v1.94.2 (v1.94.1 is the last one that works as it should without any config changes). |
I also have this problem with version
Adding |
Hm so you shouldn't actually need mjs I need to check with the dev who changed those docs.. |
I do need to use it due to https://plaiceholder.co/docs/plugins/next |
JS community is moving everything to ESM. Then all config files also should be in the same age. |
Current Behavior
After updating Tamagui from
v1.89.18
tov1.94.5
, the Next app doesn't start.Expo app works.
It's something about ESM.
Expected Behavior
Start the Next app.
Tamagui Version
Platform (Web, iOS, Android)
Reproduction
System Info
The text was updated successfully, but these errors were encountered: