1

I am using parse javascript cloud code on windows.

I am following steps given here https://parse.com/apps/quickstart#cloud_code/windows

So far I am able to create directory structure using parse new. Which looks like:

CloudCodeDemo
    -config/
      global.json
    -cloud/
      main.js
    -public/
      index.html

Then I ran parse deploy in CloudCodeDemo directory but is shows parse is not recognized as an internal or external command

EDIT:

enter image description here

I followed instructions:
Copy both exe files to C:\Windows\SysWOW64
Open PowerShell (x86)in administrator mode
Type .\ParseConsole.exe

But now I am facing this issue when I type .\ParseConsole.exe in power shell. below is the screen shot.

enter image description here

mahendra kawde
  • 855
  • 4
  • 25
  • 44

4 Answers4

3

you have to install on parse.exe file in the following directory C:\Windows\ System32 so you can recognize commands parse

Vesper
  • 375
  • 1
  • 8
  • 14
3

I just copied/installed(CTRL+C->CTRL+V) parse.exe from the download page into C:\Windows\System32 and then I could use the parse commands trough my Git CMD.

Hope this will help others.

0

From the comments I came to know that you don't have the Parse command line tool. It is clearly mentioned on the Parse Docs that you must download and install the tool.

Have a look at this article. It also contains the link from where to download. Parse Blog

Akshay Arora
  • 1,953
  • 1
  • 14
  • 30
  • yeah I got the tool from the link you gave. But why it is not able to update to latest version ? – mahendra kawde Jul 21 '15 at 07:16
  • If you are on windows, and you tried to update it through the command line, it won't work. It updates from command line only on Mac. – Akshay Arora Jul 21 '15 at 07:19
  • In this link: https://parse.com/apps/quickstart#cloud_code/windows on point 1, in first line they say "The command line tool is available here". You need to click on "here" to get the latest one :p – Akshay Arora Jul 21 '15 at 07:21
  • Yeah from there I can get parse-windows-2.1.3.exe file – mahendra kawde Jul 21 '15 at 07:25
  • Then what I supposed to do with that .exe file – mahendra kawde Jul 21 '15 at 07:26
  • 1
    This is actually the latest version, if you install it, it will open in powershell like the previous version you actually have. btw, I am using older version without any problems till now. – Akshay Arora Jul 21 '15 at 07:34
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/83833/discussion-between-mahendra-kawde-and-akshay-arora). – mahendra kawde Jul 21 '15 at 07:36
  • I followed your instructions Copy both exe files to C:\Windows\SysWOW64 Open PowerShell (x86) Type .\ParseConsole.exe open powershell in administrator mode – mahendra kawde Jul 21 '15 at 08:54
  • But now I am getting something else as an error. I have updated post with screenshot. – mahendra kawde Jul 21 '15 at 08:55
-1

Alright, none of the comment above has given the reason for the error you keep getting, however the solution without switching to Powershell is to edit your "environment variables" from "Advance System Settings" by adding "PATH" as the variable name and using the directory where your parse.exe is located as the variable value.

Bjørn-Roger Kringsjå
  • 9,849
  • 6
  • 36
  • 64