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

Error when running kibana.bat: \nodejs\node.exe was unexpected at this time. #5824

Closed
dterziev opened this issue Jan 6, 2016 · 0 comments
Closed
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@dterziev
Copy link
Contributor

dterziev commented Jan 6, 2016

This is happening on a Windows x64 with Node x86 installed in the default location C:\Program Files(x86)\nodejs\node.exe and is in the current PATH. The issue is caused by the CMD parser which misinterprets the parenthesis in the path on this line: SET NODE=%SYS_NODE%, even when it does not execute it. For more details see here: http://ss64.com/nt/syntax-brackets.html. The solution is to simply quote the variable assignment: SET "NODE=%SYS_NODE%". This way the quotes don't become part of the value and will not cause an issue if it falls back to using the %SYS_NODE% path.

@rashidkpc rashidkpc added bug Fixes for quality problems that affect the customer experience P1 labels Jan 6, 2016
BigFunger added a commit that referenced this issue Jan 7, 2016
Resolves #5824, error when running kibana.bat with node x86 on win x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

No branches or pull requests

2 participants