Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

ERROR: Could not detect dredd version #6

Closed
brianmuse opened this issue Oct 24, 2013 · 3 comments
Closed

ERROR: Could not detect dredd version #6

brianmuse opened this issue Oct 24, 2013 · 3 comments
Labels

Comments

@brianmuse
Copy link

Dredd installed correctly, however when running any dredd command it immediately fails and outputs ERROR: Could not detect dredd version.

This error seems to stem from the cli dependency (here: https://github.com/chriso/cli/blob/32c7013716c3cb5ce1cdf5486aacb26fb84c2d48/cli.js#L529) which implies that it's having trouble finding the package.json file. I do, however, see a package.json file if I navigate to the install path (/usr/local/lib/node_modules/dredd/package.json)

npm 1.3.11
node 0.10.21

@netmilk
Copy link
Contributor

netmilk commented Oct 25, 2013

Hi,

I've also faced this problem, but I didn't managed to replicate it. I'll give it one more try and I'll let you know. It seems to me that there is some problem with relative/absolute path to the package.json in cli module.

Adam

@ghost
Copy link

ghost commented Oct 25, 2013

Same problem here.

npm 1.3.11
node 0.10.0

@netmilk
Copy link
Contributor

netmilk commented Oct 25, 2013

Thanks, @Mambre. I'm still investigating. I'll let you know immediately when I succeed.
Adam

@netmilk netmilk reopened this Oct 25, 2013
honzajavorek pushed a commit that referenced this issue Jan 27, 2016
Use Python code-block in README for syntax highlighting
honzajavorek pushed a commit that referenced this issue Feb 2, 2016
Wildcards now supported in Hooks with no breaking changes
honzajavorek pushed a commit that referenced this issue Jul 18, 2016
Fix error with pointers that caused transactions to not be mutated
artem-zakharchenko pushed a commit that referenced this issue Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants