When installing a Karma plugin like so:

npm install karma-jasmine

where does NPM actually download the physical files? And how does Karma know they are there?

有帮助吗?

解决方案

I figured it out. It installs them in the same directory as Karma itself. So the structure looks something like:

node_modules
  - karma
  - karma-jasmine
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top