igniteram / protractor-cucumber-typescript

e2e kickstarter test framework which consists of protractor, cucumber frameworks using typescript lang!
MIT License
196 stars 170 forks source link

Getting Cannot find module error while running the script #62

Open BhargavAtyam opened 5 years ago

BhargavAtyam commented 5 years ago

{ Error: Cannot find module 'C:\Users\username\typeScript\config\config.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15) at Function.Module._load (internal/modules/cjs/loader.js:520:25) at Module.require (internal/modules/cjs/loader.js:650:17) at require (internal/modules/cjs/helpers.js:20:18) at ConfigParser.addFileConfig (C:\Users\username\node_modules\protractor\built\configParser.js:135:26) at Object.initFn [as init] (C:\Users\username\node_modules\protractor\built\launcher.js:93:22) at Object. (C:\Users\username\node_modules\protractor\built\cli.js:226:10) at Module._compile (internal/modules/cjs/loader.js:702:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10) at Module.load (internal/modules/cjs/loader.js:612:32) code: 'MODULE_NOT_FOUND' } [15:39:59] E/configParser - Error code: 105 [15:39:59] E/configParser - Error message: failed loading configuration file typeScript/config/config.js [15:39:59] E/configParser - Error: Cannot find module 'C:\Users\username\typeScript\config\config.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15) at Function.Module._load (internal/modules/cjs/loader.js:520:25) at Module.require (internal/modules/cjs/loader.js:650:17) at require (internal/modules/cjs/helpers.js:20:18) at ConfigParser.addFileConfig (C:\Users\username\node_modules\protractor\built\configParser.js:135:26) at Object.initFn [as init] (C:\Users\username\node_modules\protractor\built\launcher.js:93:22) at Object. (C:\Users\username\node_modules\protractor\built\cli.js:226:10) at Module._compile (internal/modules/cjs/loader.js:702:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10) at Module.load (internal/modules/cjs/loader.js:612:32) npm ERR! Test failed. See above for more details.