Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Protractor error when running protractor conf.js

Tags:

protractor

I am getting an error while execution command protractor conf.js

I am trying to run the sample project code available at
https://github.com/qualityshepherd/protractor_example

My error is

D:\Users\protractor_example-master
>protractor conf.js
[13:30:33] E/configParser - error code: 105
[13:30:33] E/configParser - description: failed loading configuration file conf.
js

D:\Users\xxxxxx\node_modules\protractor\built\configParser.js:130
            throw new exitCodes_1.ConfigError(logger, 'failed loading configurat
ion file ' + filename);

Please suggest a solution

like image 418
prashant saraogi Avatar asked Dec 05 '25 13:12

prashant saraogi


1 Answers

You have to go into the directory where you have your config file :

cd /yourPath/

Then run your file.

like image 194
Emna Ayadi Avatar answered Dec 09 '25 16:12

Emna Ayadi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!