cypress-io / cypress-parcel-preprocessor

Cypress preprocessor for bundling JavaScript via Parcel
6 stars 4 forks source link

Error: Cannot add a worker call if workerfarm is ending #41

Open GlynL opened 4 years ago

GlynL commented 4 years ago

Whenever I run a test I get the error: 'Error: Cannot add a worker call if workerfarm is ending.' "cypress": "^3.4.1", "cypress-parcel-preprocessor": "^1.0.0", "parcel-bundler": "^1.10.3", "parcel-plugin-bundle-visualiser": "^1.2.0",

// cypress/plugins/index.js
const cyParcel = require('cypress-parcel-preprocessor');

module.exports = (on, config) => {
  on('file:preprocessor', cyParcel);
};

Not sure what is causing this. Commenting out the preprocessor lines fixes this.