-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Valtion 1.5.0 compile error, with NextJS all latest versions #412
Comments
Can you try #411? |
Create new compile errors. |
@sivadinesh1 Thanks for reporting it! |
Same here |
@MD2990 Thanks for reporting. You can open a new issue too. |
created new issue #415 |
Version 1.4.0 works well. upgrading to Valtio 1.5.0 causes compilation errors.
Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/../node_modules/use-sync-external-store/shim' is not supported resolving ES modules imported from /Users/sivadinesh/Documents/products/2022/greenpot/node_modules/valtio/esm/index.mjs
Did you mean to import use-sync-external-store/shim/index.js?
at new NodeError (node:internal/errors:371:5)
at finalizeResolution (node:internal/modules/esm/resolve:414:17)
at moduleResolve (node:internal/modules/esm/resolve:983:10)
at defaultResolve (node:internal/modules/esm/resolve:1080:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
at ModuleWrap. (node:internal/modules/esm/module_job:79:40)
at link (node:internal/modules/esm/module_job:78:36) {
code: 'ERR_UNSUPPORTED_DIR_IMPORT',
url: '/node_modules/use-sync-external-store/shim'
The text was updated successfully, but these errors were encountered: