Skip to content

Error: Cannot find module 'verb' from '/usr/local/lib/node_modules/verb-cli/bin' #7

@diamondo25

Description

@diamondo25

On Mac OS X, I am unable to run this program.
Steps to reproduce:

  1. Get Mac OS X
  2. Make sure verb isn't installed:
§ verb
zsh: command not found: verb
  1. Install verb as displayed on the readme
§ npm i -g verb-cli
/usr/local/bin/verb -> /usr/local/lib/node_modules/verb-cli/bin/verb.js
verb-cli@0.7.4 /usr/local/lib/node_modules/verb-cli
├── pretty-hrtime@1.0.2
├── archy@1.0.0
├── minimist@1.2.0
├── tildify@1.1.2 (os-homedir@1.0.1)
├── verb-log@0.2.0 (time-stamp@0.1.3)
├── v8flags@2.0.11 (user-home@1.1.1)
├── chalk@1.1.1 (escape-string-regexp@1.0.5, supports-color@2.0.0, strip-ansi@3.0.1, has-ansi@2.0.0, ansi-styles@2.2.0)
├── resolve@1.1.7
├── liftoff@2.2.0 (extend@2.0.1, rechoir@0.6.2, flagged-respawn@0.3.1, findup-sync@0.3.0)
└── verb-default@1.1.0 (gulp-util@3.0.7)
  1. Run verb
§ verb
/usr/local/lib/node_modules/verb-cli/node_modules/resolve/lib/sync.js:33
    throw new Error("Cannot find module '" + x + "' from '" + y + "'");
    ^

Error: Cannot find module 'verb' from '/usr/local/lib/node_modules/verb-cli/bin'
    at Function.module.exports [as sync] (/usr/local/lib/node_modules/verb-cli/node_modules/resolve/lib/sync.js:33:11)
    at Liftoff.run (/usr/local/lib/node_modules/verb-cli/bin/verb.js:112:30)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/verb-cli/node_modules/liftoff/index.js:192:16)
    at module.exports (/usr/local/lib/node_modules/verb-cli/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/verb-cli/node_modules/liftoff/index.js:185:9)
    at /usr/local/lib/node_modules/verb-cli/node_modules/liftoff/index.js:159:9
    at /usr/local/lib/node_modules/verb-cli/node_modules/v8flags/index.js:91:14
    at FSReqWrap.oncomplete (fs.js:82:15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions