Git Product home page Git Product logo

codespecjs's People

Contributors

ambarox avatar kniveditha avatar lakindu95 avatar praveenmuthu22 avatar surenr avatar zaurik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codespecjs's Issues

failed loading configuration file protractor.conf.js ( Protractor Version 5.2.0 )

This exception occurs when I tried to run the test

[12:29:41] E/configParser - Error code: 105
[12:29:41] E/configParser - Error message: failed loading configuration file protractor.conf.js
[12:29:41] E/configParser - Error: Cannot find module 'protractor'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\Muditha\git\CodeSpecJS\protractor.conf.js:4:17)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)

Error when run in Ubuntu.

Node version - v9.x
When you run this in Ubuntu you will get an error as below.

Unhandled rejection TSError: ⨯ Unable to compile TypeScript
lib/base.steps.ts (13,24): Cannot find module './domain/ihooks'. (2307)
    at getOutput (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:307:15)
    at /home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:336:16
    at Object.compile (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:498:11)
    at Module.m._compile (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:392:43)
    at Module._extensions..js (module.js:646:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:395:12)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at /home/lasitha/Projects/RND/CodeSpecJS/node_modules/cucumber/lib/cli/index.js:135:16
    at Array.forEach (<anonymous>)
    at Cli.getSupportCodeLibrary (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/cucumber/lib/cli/index.js:134:24)
    at Cli.<anonymous> (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/cucumber/lib/cli/index.js:144:39)
    at Generator.next (<anonymous>)

To correct this issue:
Open base.steps.ts file in some editor (vim)
vim lib/base.steps.ts
Locate line 13:
import { IHooks } from './domain/ihooks';
change the line like below (Change ihooks to Ihooks)
import { IHooks } from './domain/Ihooks';

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.