x0 icon indicating copy to clipboard operation
x0 copied to clipboard

Does X0 works on windows 10?

Open fermartz opened this issue 5 years ago • 1 comments

First of all, Thanks for this wonderful tool!

This might be a dumb question but I can't find any answer yet. In my MAC computer X0 works perfectly but here at work I just installed it on windows 10 and when I try to run the server it just hangs for a long time then it throws the following error.

image

Any clues ???

fermartz avatar Sep 05 '18 16:09 fermartz

Problem: I've found that the issue above appears only when you try to run the server after you have installed X0 both globally and locally. In my case, I installed X0 globally but windows 10 can't recognize the command unless you add an environmental variable and run it from nodejs. command prompt (what a pain). So, I went and installed locally, which it doesn't work on my case. After that, if you try to run it globally from node.js cmd the error above shows up.

Solution: Delete node_modules and the dependency in project.json, then you can run it globally from node.js cmd.

If somebody has a better solution please post it here. Thanks!

fermartz avatar Sep 05 '18 17:09 fermartz