When I test the component using (imported from next-view-transition), it shows this error:
Error: Cannot find module 'my-project/node_modules/.pnpm/next-view-transitions@0.1.1next@13.5.2@babel+core@7.24.5_@opentelemetry+api@1.8.0_react-dom_ij7rotrze5kexwddyuvkazu2ry/node_modules/next/link' imported from my-project/node_modules/.pnpm/next-view-transitions@0.1.1next@13.5.2@babel+core@7.24.5_@opentelemetry+api@1.8.0_react-dom_ij7rotrze5kexwddyuvkazu2ry/nodemodules/next-view-transitions/dist/index.js
Did you mean to import next@13.5.2@babel+core@7.24.5_@opentelemetry+api@1.8.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/link.js?
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
My project is using next 13.5.2, which is different from next-view-transition next 14. However, is a basic feature and should not be an issue.
When I run pnpm dev, or build then start, the application still works perfectly fine. Just the tests are failing. I'm using @testing-library/react
When I test the component using (imported from
next-view-transition
), it shows this error:My project is using next 13.5.2, which is different from next-view-transition next 14. However, is a basic feature and should not be an issue. When I run
pnpm dev
, orbuild
thenstart
, the application still works perfectly fine. Just the tests are failing. I'm using@testing-library/react