Skip to content

Failed to load components test with error on webpack-dev-sever #21

@meaholik

Description

@meaholik

I need the help to configure component testing on my project.
My project is using webpack v5.89.
Cypress v13.6.2

My cypress.config.js is just as below
const webpackConfig = require('./webpack/webpack.local') module.exports = defineConfig({ component: {devServer: { framework: 'react', bundler: 'webpack', webpackConfig: webpackConfig({}) }}})

And when run testcase file, i got errror
<e> [webpack-dev-middleware] Error: Prevent writing to file that only differs in casing or query string from already written file. <e> This will lead to a race-condition and corrupted files on case-insensitive file systems. <e>...AppData\Local\Cypress\Cache\13.6.2\Cypress\resources\app\node_modules\@packages\server\node_modules\@cypress\webpack-dev-server\dist\dist\Main.js <e>...AppData\Local\Cypress\Cache\13.6.2\Cypress\resources\app\node_modules\@packages\server\node_modules\@cypress\webpack-dev-server\dist\dist\main.js

Anyone can help me point out what is wrong
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions