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

Errors when installing on Win10 #56

Open
PhiLhoSoft opened this issue Dec 7, 2016 · 3 comments
Open

Errors when installing on Win10 #56

PhiLhoSoft opened this issue Dec 7, 2016 · 3 comments

Comments

@PhiLhoSoft
Copy link

FYI, I had errors displayed while installing the software on Windows 10 Pro (64-bit, French).
Strangely, they don't prevent jsplora to launch the program that seems to work fine (from a quick test).
That's why it is "for your information"... Feel free to close if needed.

> npm -v
3.9.5

> node -v
v4.4.5

> npm i -g JSON-Splora
C:\Users\Philippe\AppData\Roaming\npm\jsplora -> C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora\bin\jsplora

> [email protected] install C:\Users\Philippe\AppData\Roaming\npm\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] install C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora
> node bin/install

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

> [email protected] postinstall C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora\node_modules\electron
> node install.js


> [email protected] postinstall C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora\node_modules\node-jq
> npm run install-binary


> [email protected] install-binary C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora\node_modules\node-jq
> node scripts/install-binary.js

Err: Error: ./configure --disable-maintainer-mode --bindir=C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora\node_modules\node-jq\bin --libdir=C:\Users\Philippe\AppData\Local\Temp\64fbb9c0-82e7-4fde-9377-eb8ca68d1277 && make && make install
Command failed: C:\WINDOWS\system32\cmd.exe /s /c "./configure --disable-maintainer-mode --bindir=C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora\node_modules\node-jq\bin --libdir=C:\Users\Philippe\AppData\Local\Temp\64fbb9c0-82e7-4fde-9377-eb8ca68d1277"
'.' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

jq installed successfully on C:\Users\Philippe\AppData\Roaming\npm\node_modules\JSON-Splora\node_modules\node-jq\bin
C:\Users\Philippe\AppData\Roaming\npm
`-- [email protected]
  +-- [email protected]
  +-- [email protected]
  | +-- [email protected]
  | | +-- [email protected]
  | | | +-- [email protected]
  | | | +-- [email protected]
[...]

I cut down the output of NPM's modules.
The French message says it doesn't recognize '.' as a command.

@wellsjo
Copy link
Owner

wellsjo commented Dec 7, 2016

Hmmm...it seems like this may be a bug in node-jq's installation process on Windows, yet it seems to think it installed successfully. Does using jq filters in the app work?

@PhiLhoSoft
Copy link
Author

I just tested, they seem to work, if that's stuff like [5].foo.url to access [ ..., { "foo": { "url": "http", ... }, ... }, ... ] for example.

@MaanooAk
Copy link
Contributor

MaanooAk commented Dec 7, 2016

node-jq tries to run ./configure ... which can't run on windows, beacause the ./ is not valid syntax.
The command that fails has the --disable-maintainer-mode param (... so is not so important ???)
But somehow I didn't get this error (Win10 here too)

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

3 participants