mardi 5 juillet 2016

Cannot find module '../built/cli.js' when running Protractor

Because of the present in Protractor 3.3.0 issue with getMultiCapabilities, we have to install Protractor directly from github since the master branch contains the fix which is scheduled for Protractor 3.4.

In package.json we've added the following:

"dependencies": {
  "protractor": "git+http://ift.tt/29fXowy"
},

And, now, we are getting the following error when trying to run protractor:

> protractor conf.js

module.js:341
    throw err;
    ^

Error: Cannot find module '../built/cli.js'

Is it something we are doing wrong, or Protractor development version cannot be installed and used this way?

Aucun commentaire:

Enregistrer un commentaire