npm / wombat-cli

The wombat cli tool.
ISC License
35 stars 12 forks source link

Path must be a string. Received undefined #105

Open davidkassa opened 7 years ago

davidkassa commented 7 years ago

Hi,

I'm currently receiving the following error after installing wombat.

C:\Users\dave>wombat whoami
C:\Program Files\nodejs\node_modules\wombat\bin\wombat-cli.js whoami

Options:
  --help, -h     Show help                                             [boolean]
  --version, -v  show version information                              [boolean]

Path must be a string. Received undefined

C:\Users\dave>

I cannot run any wombat command (but can run all options) without getting this error, but can run npm whoami just fine.

davidkassa commented 7 years ago

wombat v1.0.5 node v7.2.1 npm v4.0.5

ceejbot commented 7 years ago

Iiiiinteresting. I just ran it successfully on node 6.9.2. Will investigate tomorrow with node 7 to see if it's node, windows vs unix, or something else. Thanks for the report!

tivac commented 7 years ago

@ceejbot I'm also seeing this on windows still. Did you ever get a chance to look at this?

wombat v1.0.5 node v7.9.0 npm v4.5.0

soldair commented 7 years ago

whats the output when you run wombat hooks ls?

tivac commented 7 years ago

Same error.

C:\Users\pcavit>wombat hooks ls
AppData\Roaming\npm\node_modules\wombat\bin\wombat-cli.js hooks ls [pkg]

Options:
  --help, -h     Show help                                             [boolean]
  --version, -v  show version information                              [boolean]

Path must be a string. Received undefined
soldair commented 7 years ago

thanks! i dont have a windows machine handy right now for testing =( hopefully we can get to it soon.

old-profile commented 4 years ago

Any solution for this? It has been more than 2 years.

soldair commented 4 years ago

I'm pretty sure the npm cli has support for hooks now so this isn't needed. If there is an issue with the service contact support