Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subsequent github url installs fail with Cannot find module ... yarn/bin/yarn.js #684

Closed
mdonnalley opened this issue Oct 19, 2023 · 1 comment · Fixed by #683
Closed

Comments

@mdonnalley
Copy link
Contributor

  • plugins install https://github.com/oclif/plugin-test-esm-1.git succeeds
  • run plugins install https://github.com/oclif/plugin-test-esm-1.git again and it fails with
Error: Cannot find module '$HOME/sf/node_modules/@oclif/plugin-test-esm-1./node_modules/yarn/bin/yarn.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
  • run plugins install https://github.com/oclif/plugin-test-esm-1.git again and it succeeds
@mdonnalley mdonnalley added the bug label Oct 19, 2023
@git2gus
Copy link

git2gus bot commented Oct 19, 2023

This issue has been linked to a new work item: W-14331306

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant