Closed jerelmiller closed 4 years ago
It appears this may be due to the fact that yarn
currently doesn't not run the prepare
script when installing from a local source: https://github.com/yarnpkg/yarn/issues/5235
Are we willing to publish this package to the npm registry? I think simply publishing this package would fix the issue.
Looks like this was fixed as a result of publishing the package. Thanks for the help!
Description
When installing this package via
yarn
, this plugin does not work and fails with the message:It appears there is a subtle difference in the files present when installing via
npm
andyarn
. When installing vianpm
, it appears anindex.js
file is created in the node module folder:When installing via
yarn
, it appears that theindex.js
file is missing.When looking at this repo, it looks like there is no
index.js
file in the root, so yarn follows more closely with the structure defined in the repo.Steps to Reproduce
Install this package via
yarn
.Expected Behaviour
I can run this plugin with no problems regardless of whether I install via
npm
oryarn