Skip to content

NextJS plugin issue for Cypress Component Testing (options.rewrites.map is not a function) #16136

Discussion options

You must be logged in to vote

I did yarn add -D webpack@4 html-webpack-plugin@4 BTW

{
  "name": "locali-web",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "test": "jest --watch"
  },
  "dependencies": {
    "@stripe/stripe-js": "^1.13.2",
    "class-name": "^0.1.3",
    "lodash": "^4.17.21",
    "next": "10.1.3",
    "next-stripe": "^1.0.0-beta.9",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "stripe": "^8.142.0",
    "swr": "^0.5.5"
  },
  "devDependencies": {
    "@cypress/react": "^5.3.4",
    "@cypress/webpack-dev-server": "^1.1.4",
    "@cypress/webpack-preprocessor": "^5.7.0",
    "@testing-library/cypress": "^7.0.6

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@Norfeldt
Comment options

@smartsandeep1994
Comment options

Comment options

You must be logged in to vote
4 replies
@Norfeldt
Comment options

@Norfeldt
Comment options

@lmiller1990
Comment options

@lmiller1990
Comment options

Comment options

You must be logged in to vote
6 replies
@lmiller1990
Comment options

@Norfeldt
Comment options

@Norfeldt
Comment options

@lmiller1990
Comment options

@Norfeldt
Comment options

Answer selected by Norfeldt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants