Issue in the installing of ionic on windows 7

Hi all,
i need your help in the resolution of issue, please.

This message is showing when typing any command
$ionic …

==================================================================
events.js:72
throw er; // Unhandled ‘error’ event
^
Error: spawn ENOENT
at errnoException (child_process.js:1000:11)
at Process.ChildProcess._handle.onexit (child_process.js:791:34)

Pretty much the same here.

The only thing I’ve noticed in the instalation process was a warning during Ionic’s install:

npm WARN package.json github-url-from-git@1.1.1 No repository field.

Everything else looked just fine.

I’d appreciate some help.

Hey there,

so setting up cordova is a over tricky process with windows.
Have you guys taken a look at this video?

It should help shed some light on what to do

Thanks for you comment,
not it works for my :frowning:

I encounter the same problem with any ionic command on Win7.
It worked with a previous version of ionic (now 1.1.1 with cordova 3.5.0).
Please, let me know how to solve this problem.

Thank you,
Matteo

Hey guys, so it appears with the new update, it broke a few things for windows. We’re looking into it now :smile:

@mhartington Thanks for letting us know!

R

So there should be a fix in already, can you try now?

$ sudo npm install -g ionic

Hi all,
my solution was:

  1. Update all npm pakages with
    $npm update

  2. Install the jdk8

JAVA_HOME C:\Program Files\Java\jdk1.8.0_11*bin*
ANDROID_TOOLS D:\Android_SDK_eclipse\adt-bundle-windows-x86-20140702\sdk*tools*
ANDROID_PLATFORM_TOOLS D:\Android_SDK_eclipse\adt-bundle-windows-x86-20140702\sdk*platform-tools*
PATH
C:\Program Files\Java\jdk1.8.0_11\bin;
D:\apache-ant-1.9.4*bin*;
D:\nodejs;
D:\nodejs\node_modules*npm*;
strong textD:\Android_SDK_eclipse\adt-bundle-windows-x86-20140702\sdk*tools*;
D:\Android_SDK_eclipse\adt-bundle-windows-x86-20140702\sdk*platform-tools*

ANT_HOME D:\apache-ant-1.9.4

i think is all :).

**good luck **

@heyAparicio, glad to see you got your issue resolved. For those have more issues, please refer to this github issue.

Hi guys,

As everything was already set here, I just installed Ionic again and it worked.

Thank you all.

R