-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Protractor: 7.0.0
node: 12.16.1
Getting this error when running Protractor tests:
E/configParser - Error code: 105
E/configParser - Error message: failed loading configuration file /Applications/IntelliJ IDEA.app/Contents/plugins/JavaScriptLanguage/helpers/protractor-intellij/lib/protractor-intellij-config.js
E/configParser - Error: ENOENT: no such file or directory, open '/Users/roperez/github/ncl-e2e-tests/e2e/common-config/conf-js/package.json'
at Object.openSync (fs.js:457:3)
at Object.readFileSync (fs.js:359:35)
at AsyncFunction.module.exports.sync (/Users/roperez/github/ncl-e2e-tests/node_modules/read-pkg/index.js:34:28)
at Authenticator.authenticatorManifest (/Users/roperez/github/ncl-e2e-tests/node_modules/authenticator-browser-extension/lib/Authenticator.js:68:26)
at Authenticator.extensionFile (/Users/roperez/github/ncl-e2e-tests/node_modules/authenticator-browser-extension/lib/Authenticator.js:63:40)
at Authenticator.asBase64 (/Users/roperez/github/ncl-e2e-tests/node_modules/authenticator-browser-extension/lib/Authenticator.js:39:21)
at Object. (/Users/roperez/github/ncl-e2e-tests/e2e/common-config/conf-js/protractor.conf.js:16:93)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
For some reason authenticator-browser-extension is requiring to have package.json file at same level as conf.js. Tried moving package.json to /conf-js folder and it worked as expected.