Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

fix: Undefined function When#37

Open
Florian Steinbauer (fsteinbauer) wants to merge 1 commit into
hoverinc:masterfrom
fsteinbauer:master
Open

fix: Undefined function When#37
Florian Steinbauer (fsteinbauer) wants to merge 1 commit into
hoverinc:masterfrom
fsteinbauer:master

Conversation

@fsteinbauer

@fsteinbauer Florian Steinbauer (fsteinbauer) commented Feb 25, 2020

Copy link
Copy Markdown

Recently I set up another new blank repository. After adding picklejs as a dependency, i got the following error: Undefined function When.

Below is the configuration I used to set up this repository:

package.json

{
  "name": "expleotest",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "cypress": "cypress open",
    "test": "cypress run"
  },
  "keywords": [],
  "author": "Florian Steinbauer <florian.steinbauer@expleogroup.com>",
  "license": "ISC",
  "repository": {
    "type": "git",
    "url": "https://github.com/fsteinbauer/.git"
  },
  "dependencies": {
    "cypress": "^4.0.1",
    "cypress-cucumber-preprocessor": "2.0.1",
    "dill": "git+https://github.com/fsteinbauer/dill.git#refactoring",
    "picklejs": "^0.101.0"
  },
  "cypress-cucumber-preprocessor": {
    "nonGlobalStepDefinitions": false,
    "stepDefinitions": "support"
  }
}

cypress.json

{
  "testFiles": "**/*.feature",
  "pluginsFile": "plugins/index.js",
  "supportFile": "support/index.js",
  "integrationFolder": "integration",
  "ignoreTestFiles": "*(!(*.spec.js|*.feature))",
  "dill": {
    "stepDefinitions": "**/*.steps",
    "stepDefinitionTemp": "support/steps-compiled.json"
  }
}

@EvaFro

Copy link
Copy Markdown
Contributor

Florian Steinbauer (@fsteinbauer) you should only need pickle and cypress as dependencies. The rest is not needed. Try again with only those two dependencies.

@EvaFro Erin Frolli (EvaFro) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants