ITADN

NextJS webpack errors

#288Openbahag-stolyarchukm 创建于 2024-02-04
Started to get webpack error once upgrading nextJS to `14.1.0` "@cypress/browserify-preprocessor": "^3.0.2", "@cypress/code-coverage": "^3.12.19", "@istanbuljs/nyc-config-typescript": "^1.0.2", "@testing-library/cypress": "^10.0.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/jest": "^29.2.0", "@types/supertest": "^2.0.12", "babel-plugin-istanbul": "^6.1.1", "cypress": "^13.6.3", "cypress-mochawesome-reporter": "^3.8.0", "identity-obj-proxy": "^3.0.0", "jest": "^29.2.0", "jest-environment-jsdom": "^29.2.0", "msw": "^2.1.5", "next-router-mock": "^0.9.10", "nyc": "^15.1.0", "start-server-and-test": "^2.0.0", "supertest": "^6.3.3", "ts-jest": "^29.0.3", "whatwg-fetch": "^3.6.2" Using `nyc` to instrument `cypress` tests to get `coverage` If I remove `bablerc` it default back to `swc` from nextJS, application runs, however tests are missing its point - being instrumented. <img width="883" alt="image" src="https://github.com/istanbuljs/babel-plugin-istanbul/assets/110453402/77419ba7-de0c-41de-b9cb-022d2cfa8f01"> Is started just recently to give these errors. Anything could be updated from your side? I see this plugin was updated a long time ago now.
0 条评论