thedeeno / web-component-tester-istanbul

Instanbul coverage reporting for projects being tested by web-component-tester
28 stars 29 forks source link

Could not find WCT plugin #9

Open felixzapata opened 9 years ago

felixzapata commented 9 years ago

Hi, after install and add the plugin to the wct.config.file.js:

module.exports = {
  plugins: {
    "web-component-tester-istanbul": {
      dir: "./coverage",
      reporters: ["text-summary", "lcov"],
      include: [
        "**/*.js"
      ],
      exclude: [
        "/polymer/polymer.js",
        "/platform/platform.js"
      ]
    }
  }
}

the console throws this error:

Could not find WCT plugin named "web-component-tester-istanbul"

I'm missing something.

thedeeno commented 9 years ago

If you follow the new readme instructions and leverage the new bits I pulled in from @ctreatma does it work for you?

felixzapata commented 9 years ago

Hi, I have updated the module and changed the wct.conf file with the new example and I have a similar error:

Could not find WCT plugin named "istanbul"

Maybe the problem is how I am calling the tests:

sudo wct -l chrome

jorgecasar commented 9 years ago

I had the same issue running wct without sudo and params. I checked I have installed the package in node_modules folder.

ctreatma commented 9 years ago

What version of wct are you using?

felixzapata commented 9 years ago

Hi, I have versión 3.3.21

ctreatma commented 9 years ago

Did you install web-component-tester-istanbul with npm, or do you have the latest from master checked out locally?

thedeeno commented 9 years ago

I'll cut a release tonight everyone! I've been afk.

On Wednesday, September 16, 2015, Charles Treatman notifications@github.com wrote:

Did you install web-component-tester-istanbul with npm, or do you have the latest from master checked out locally?

— Reply to this email directly or view it on GitHub https://github.com/thedeeno/web-component-tester-istanbul/issues/9#issuecomment-140772222 .

felixzapata commented 9 years ago

@ctreatma I installed it via npm

ctreatma commented 8 years ago

@felixzapata until the latest changes to this library are available via npm, you will need to install it from github.

thedeeno commented 8 years ago

@ctreatma @felixzapata published. Sorry for the delay. I'll reopen if the latest doesn't resolve this issue.

priyabrat1801 commented 8 years ago

I installed wct 3.3.21 and "web-component-tester-istanbul": "^0.9.0" but still having the issue: Could not find WCT plugin named "web-component-tester-istanbul"

priyabrat1801 commented 8 years ago

Could you please reopen or let me know any other way to get this working.

cklanac commented 8 years ago

It seems that web-component-tester and web-component-tester-istanbul need to be installed in the same spot, (eg locally or globally). So if you installed web-component-tester globally per the instructions in the repo, then you need to install web-component-tester-istanbul globally too. Or vice-versa.

OmarBuheis commented 8 years ago

The following seems to do the trick, at least in my setup:

image

ghost commented 7 years ago

@OmarBuheis I had them both installed globally but was still getting the error. Turns out I had a local install of WCT as well and removing that local install fixed it.