Failed to connect to http://localhost:3001: incompatible remote API v5 or earlier

81 views
Skip to first unread message

Petros Kyriakou

unread,
Feb 12, 2016, 5:37:37 AM2/12/16
to LoopbackJS
I am trying to deploy and i am following the tutorials on the website

First problem is it says "Unable to deploy using tar file"

and i am getting the error message in the title.

but my PM version and API are the following

$ slc pm -l 3001
slc pm(12911): StrongLoop PM v5.1.0 (API v6.1.0) on port `3001`
slc pm(12911): Base folder `/Users/Pitops/.strong-pm`
slc pm(12911): Applications on port `3000 + service ID`
Browse your REST API at http://127.0.0.1:3001/explorer

any clues?

first time using loopback and propably using the latest as i have specified no version.

Petros Kyriakou

unread,
Feb 12, 2016, 5:44:54 AM2/12/16
to LoopbackJS
For those that encounter this problem, it seems that its because i had to use a custom port to start the Process  Manager (slc pm -l <port-number>) and i have input port 3001. Apparently port 3000-30xx depending on your processes are occupied by loopback arc/process manager. 

Using port 1234 or something, helped deploy successfully with no errors, even when i had another error when setting up PM in Arc.

There should be proper error messages instead of the above error messages.
Reply all
Reply to author
Forward
0 new messages