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

Problem installing on OS X 10.11.6, node 7.6.0; "command not found: jsplora" #79

Open
ianwaldrop opened this issue Feb 23, 2017 · 2 comments

Comments

@ianwaldrop
Copy link

I'm fairly sure that I'm doing it right, but the odds are against me here.

» npm i -g json-splora

> [email protected] install /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora/node_modules/git-validate
> node bin/install

WARNING: Unable to find a .git directory for this project, installation aborted.
npm WARN engine [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"7.6.0","npm":"2.15.0"})

> [email protected] postinstall /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora/node_modules/node-jq
> npm run install-binary


> [email protected] install-binary /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora/node_modules/node-jq
> node scripts/install-binary.js

jq installed successfully on /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora/node_modules/node-jq/bin

> [email protected] postinstall /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora/node_modules/electron
> node install.js

/usr/local/Cellar/node/7.6.0/bin/jsplora -> /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora/bin/jsplora

> [email protected] install /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora
> node bin/install

WARNING: Unable to find a package.json for this project, installation aborted.
[email protected] /usr/local/Cellar/node/7.6.0/lib/node_modules/json-splora
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])
» touch test.json
» jsplora test.json
zsh: command not found: jsplora
@wellsjo
Copy link
Owner

wellsjo commented Feb 23, 2017

The warnings I believe are happening because git-validate is a dev dependency, and isn't published with production. I'm not sure why that's happening though. It installs on v7.6.0 on my machine (macOS)

@ghost
Copy link

ghost commented Jun 22, 2017

I don't think it's just an OS X problem - Debian Testing

voltagex@devbox:~$ npm i -g json-splora
/home/voltagex/.npm-global/bin/jsplora -> /home/voltagex/.npm-global/lib/node_modules/json-splora/bin/jsplora

> [email protected] install /home/voltagex/.npm-global/lib/node_modules/json-splora
> node bin/install

WARNING: Unable to find a package.json for this project, installation aborted.

> [email protected] install /home/voltagex/.npm-global/lib/node_modules/json-splora/node_modules/git-validate
> node bin/install

WARNING: Unable to find a .git directory for this project, installation aborted.

> [email protected] postinstall /home/voltagex/.npm-global/lib/node_modules/json-splora/node_modules/node-jq
> npm run install-binary


> [email protected] install-binary /home/voltagex/.npm-global/lib/node_modules/json-splora/node_modules/node-jq
> node scripts/install-binary.js

jq installed successfully on /home/voltagex/.npm-global/lib/node_modules/json-splora/node_modules/node-jq/bin

> [email protected] postinstall /home/voltagex/.npm-global/lib/node_modules/json-splora/node_modules/electron
> node install.js

+ [email protected]
added 535 packages, removed 904 packages and updated 17 packages in 51.183s

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

No branches or pull requests

2 participants