Cypress: @cypress/webpack-preprocessor latest version appears not to have `dist` directory

Created on 30 Oct 2020  路  4Comments  路  Source: cypress-io/cypress

Current behavior

@cypress/[email protected] (latest one) does not have dist directory as specified in main. Cannot be used.

Desired behavior

Deploy a new version with dist correctly built.

Test code to reproduce

yarn add @cypress/webpack-preprocessor

Then just do ls node_modules/@cypress/webpack-preprocessor and see no dist is there.

Versions

5.4.9.

@cypreswebpack-preprocessor bug

Most helpful comment

This is fixed in the latest webpack preprocessor version: "@cypress/webpack-preprocessor": "5.4.10"

We had an issue in our build process with semantic release.

All 4 comments

@lmiller1990 You beat me to it :) I'm encountering the same issue.

It looks like @JessicaSachs already fix it in https://github.com/cypress-io/cypress/pull/9035 just after the release.

As a temporary measure, you can lock your dependencies to 5.4.8

"@cypress/webpack-preprocessor": "5.4.8"

The code for this is done in cypress-io/cypress#9045, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

This is fixed in the latest webpack preprocessor version: "@cypress/webpack-preprocessor": "5.4.10"

We had an issue in our build process with semantic release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carloscheddar picture carloscheddar  路  3Comments

verheyenkoen picture verheyenkoen  路  3Comments

jennifer-shehane picture jennifer-shehane  路  3Comments

brian-mann picture brian-mann  路  3Comments

igorpavlov picture igorpavlov  路  3Comments