Giter VIP home page Giter VIP logo

cucumber-performance-js's People

Contributors

mpinardi avatar mpinardi-bao avatar

Stargazers

 avatar

Watchers

 avatar

cucumber-performance-js's Issues

Error: Cannot find module './chartPoints_formatter'

Hello, I have a project with node v10.15.3
I have in my package.json "cucumber-perf": "^1.0.3"
And I found this error when I execute ./node_modules/.bin/cucumber-perf

Error: Cannot find module './chartPoints_formatter'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
    at Function.Module._load (internal/modules/cjs/loader.js:508:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> ({project_directory}/node_modules/cucumber-perf/lib/formatter/builder.js:18:53)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> ({project_directory}/node_modules/cucumber-perf/lib/cli/index.js:20:39)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> ({project_directory}/node_modules/cucumber-perf/lib/cli/run.js:8:32)
    at Module._compile (internal/modules/cjs/loader.js:701:30)

Locally, I fixed the problem inside node_modules/cucumber-perf/lib/formatter/builder.js by replacing:
var _chartPoints_formatter = _interopRequireDefault(require("./chartPoints_formatter"));
to
var _chartPoints_formatter = _interopRequireDefault(require("./chartpoints_formatter"));

If someone can help me to have a real fix ?

Getting error throw er; // Unhandled 'error' event in events.js:174

Hello I am using "cucumber-perf": "^2.0.1" , trying to run a simple plan file with a small feature file , and getting this error.

Error: spawn /perf-testing/node_modules/cucumber-perf/bin/run_cuke_runner EACCES
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] perf: cucumber-perf -p test/plans test/features
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] perf script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Tried running it with other feature files and plans, getting same issue everywhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.