example-multi-ts icon indicating copy to clipboard operation
example-multi-ts copied to clipboard

Installing from source results in globby [MODULE_NOT_FOUND] error

Open shonfeder opened this issue 4 years ago • 0 comments

Reproduction:

$ git clone [email protected]:oclif/example-multi-ts.git
$ cd example-multi-ts/
$ npm i -g
$ example-multi-ts --help

(node:207576) [MODULE_NOT_FOUND] Error Plugin: @oclif/example-multi-ts: Cannot find module 'globby'
Require stack:
- /home/sf/Sync/informal-systems/tmp/example-multi-ts/node_modules/@oclif/config/lib/plugin.js
- /home/sf/Sync/informal-systems/tmp/example-multi-ts/node_modules/@oclif/config/lib/config.js
- /home/sf/Sync/informal-systems/tmp/example-multi-ts/node_modules/@oclif/config/lib/index.js
- /home/sf/Sync/informal-systems/tmp/example-multi-ts/node_modules/@oclif/command/lib/command.js
- /home/sf/Sync/informal-systems/tmp/example-multi-ts/node_modules/@oclif/command/lib/index.js
- /home/sf/Sync/informal-systems/tmp/example-multi-ts/bin/run
module: @oclif/[email protected]
task: not loading commands, globby not found
plugin: @oclif/example-multi-ts
root: /home/sf/Sync/informal-systems/tmp/example-multi-ts
See more details with DEBUG=*
example multi-command CLI built with typescript

VERSION
  @oclif/example-multi-ts/1.10.7 linux-x64 node-v13.10.1

USAGE
  $ example-multi-ts [COMMAND]

COMMANDS
  help  display help for example-multi-ts

shonfeder avatar Mar 19 '20 17:03 shonfeder