Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Cannot find module error while running the script #62

Open
BhargavAtyam opened this issue Mar 28, 2019 · 0 comments
Open

Getting Cannot find module error while running the script #62

BhargavAtyam opened this issue Mar 28, 2019 · 0 comments

Comments

@BhargavAtyam
Copy link

BhargavAtyam commented Mar 28, 2019

{ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant