Problem in the Meteor with the command for Android

0
AVD - Sim
SDK - Sim
Adb - Sim

Meteor add-platform android - Sim

All worked fine in this command:

Meteor run android

The following error occurs:

C:\Users\Raphael Kieling\Documents\Estudo - Projetos\simple-todo>meteor run android C:\Users\Raphael Kieling\AppData\Local\.meteor\packages\meteor-tool.4.2_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:190
      throw error;
      ^
Error: Command failed: C:\Users\Raphael Kieling\Documents\Estudo - Projetos\simple-todo\.meteor\local\cordova-build\platforms\android\cordova\version 'C:\Users\Raphael' n�o � reconhecido como um comando interno ou externo, um programa oper�vel ou um arquivo em lotes.
    at ChildProcess.exitCallback (C:\tools\utils\processes.js:151:23)
    at emitTwo (events.js:92:20)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:854:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)  => awaited here:
    at Function.Promise.await (C:\Users\Raphael Kieling\AppData\Local\.meteor\packages\meteor-tool.4.2_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:35:12)
    at execFileSync (C:\tools\utils\processes.js:34:18)
    at CordovaProject.installedVersionForPlatform (C:\tools\cordova\project.js:356:9)
    at C:\tools\cordova\project.js:106:39
    at C:\Users\Raphael Kieling\AppData\Local\.meteor\packages\meteor-tool.4.2_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:209:40
    at _.each._.forEach (C:\Users\Raphael Kieling\AppData\Local\.meteor\packages\meteor-tool.4.2_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
    at Function._.some._.any (C:\Users\Raphael Kieling\AppData\Local\.meteor\packages\meteor-tool.4.2_3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:208:5)
    at C:\tools\cordova\project.js:100:26
    at CordovaProject.createIfNeeded (C:\tools\cordova\project.js:97:41)
    at new CordovaProject (C:\tools\cordova\project.js:89:10)
    at C:\tools\cli\commands.js:349:30
    at C:\tools\utils\buildmessage.js:271:13
    at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:264:29
    at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:262:18
    at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at C:\tools\utils\buildmessage.js:253:23
    at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14)
    at Object.capture (C:\tools\utils\buildmessage.js:252:19)
    at Object.main.captureAndExit (C:\tools\cli\main.js:271:29)
    at Command.doRunCommand [as func] (C:\tools\cli\commands.js:348:10)
    at C:\tools\cli\main.js:1483:23

C:\Users\Raphael Kieling\Documents\Estudo - Projetos\simple-todo>

Does anyone have an idea how to solve it?

    
asked by anonymous 13.12.2016 / 01:01

1 answer

1

This is apparently a bug, and was recently reported in meteor :

  

link

The problem is caused by spaces in the path used, the string after "Raphael" is actually being understood as a parameter, not as a command path.

In principle an immediate solution is to move the structure to a path with no spaces.

    
13.12.2016 / 03:51