failed loading configuration file protractor.conf.js ( Protractor Version 5.2.0 )
- Dominant language
- TypeScript
- Stars
- 16
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
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)
Contributor guide
Research direction
Start with protractor.conf.js at the reported line and reproduce the test command that emits Error code 105. Trace why the protractor module cannot be resolved; done means the configuration loads successfully and the test can proceed past this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100