0

I'm new to protractor, can somebody tell me how to fix error code 105

Q$ protractor conf.js

[16:29:26] E/configParser - Error code: 105
[16:29:26] E/configParser - Error message: failed loading configuration file conf.js
[16:29:26] E/configParser - Error: Cannot find module '/Users/q/conf.js'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at ConfigParser.addFileConfig (/usr/local/lib/node_modules/protractor/built/configParser.js:128:26)
    at Object.initFn [as init] (/usr/local/lib/node_modules/protractor/built/launcher.js:93:22)
    at Object.<anonymous> (/usr/local/lib/node_modules/protractor/built/cli.js:219:10)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)

I'm trying to do this using tutorial on protractor site.

1

Error: Cannot find module '/Users/q/conf.js'

Seems that you're probably running your protractor CLI command from a directory that the file doesn't exist in. It looks like you're trying to run this from your user's home directory and not a project folder, etc. so I'm a little suspicious based on those paths.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.