cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shingo Toda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7449) Failed to add windows8 platform on Windows8.1
Date Tue, 02 Sep 2014 23:17:51 GMT
Shingo Toda created CB-7449:
-------------------------------

             Summary: Failed to add windows8 platform on Windows8.1
                 Key: CB-7449
                 URL: https://issues.apache.org/jira/browse/CB-7449
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, Windows 8
    Affects Versions: 3.5.0
         Environment: Windows8.1 x64 Pro
            Reporter: Shingo Toda
            Assignee: Jesse MacFadyen


Failed to add windows8 platform by '{{cordova platform add windows8}}' on Windows8.1 with
error message that check_reqs.js is not found. But actually check_reqs.js exists in {{C:\Users\<User
Name>\.cordova\lib\windows8\cordova\3.5.0\windows8\bin}}.

It seems that it fails when user name contains a space. I tried it with local user with no
space (and not connected to Microsoft account) then this CLI command worked fine.

{panel:title=error message}
C:\cordova-test>cordova platform add windows8
Checking windows8 requirements...
Requirements check failed: 4.0.30319

ERROR: Could not find 'check_reqs.js' in 'bin' folder, aborting...


C:\cordova-test>where cordova
C:\Users\Shingo Toda\AppData\Roaming\npm\cordova
C:\Users\Shingo Toda\AppData\Roaming\npm\cordova.cmd

{panel}

{panel:title=success case}
C:\cordova-test>cordova platform add windows8
Checking windows8 requirements...
Creating windows8 project...
Creating Cordova Windows 8 Project:
        App Name : HelloCordova
        Namespace : io.cordova.hellocordova
        Path : C:\cordova-test\platforms\windows8
Project created

C:\cordova-test>where cordova
C:\Users\FAST\AppData\Roaming\npm\cordova
C:\Users\FAST\AppData\Roaming\npm\cordova.cmd
{panel}


When a user creates account with Microsoft account on local environment, its user name should
have a space between given name and surname. If my guess is correct,  I think many people
would see this problem. Hence I put this priority at Major.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message