You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to modify the webpack process, using @cypress/webpack-preprocessor and NormalModuleReplacementPlugin, but that results in other compiler issues. I don't now what options/which loaders to add to resolve the errors.
THis is the error I am seeing'
I've tried to do something like this, but like mentioned before, than I got other errors, like *.ts(x) files not recognized/transpiled (also tried to add a loader for that....)
Try to update to the latest Cypress version. Also, check out our community chat, it can be helpful for debugging or answering questions on how to use Cypress.
Current behavior
Hi, I encouter an iusse when trying to run Cypress with a NextJS application that has a
import 'server-only'
(see https://nextjs.org/docs/app/building-your-application/rendering/composition-patterns#keeping-server-only-code-out-of-the-client-environment)Does anyone have some insight how to resolve this? I am using NX btw.
I've tried to modify the webpack process, using @cypress/webpack-preprocessor and NormalModuleReplacementPlugin, but that results in other compiler issues. I don't now what options/which loaders to add to resolve the errors.
THis is the error I am seeing'
I've tried to do something like this, but like mentioned before, than I got other errors, like *.ts(x) files not recognized/transpiled (also tried to add a loader for that....)
Desired behavior
No response
Test code to reproduce
Currently not able to provide a test project, will try to provide this later
Cypress Version
13.13.0
NX/NextJS
NX 20.1.4
NextJS 14.2.3
Node version
v20.9.0
Operating System
windows 11
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: