strongloop / strongloop-buildpacks

Other
19 stars 26 forks source link

bash: slc: command not found #4

Open kexoth opened 8 years ago

kexoth commented 8 years ago

I'm trying to host my LoopBack app on Heroku & I installed this buildpack.

Made Procfile as suggested with web: slc run, but even your buildpack installed, the command-line tool doesn't get recognized, from Heroku I get this error:

heroku/web.1:  Starting process with command `slc run` 
app/web.1:  bash: slc: command not found

Any ideas why this might be happening?

MartinCerny-awin commented 8 years ago

I have the same error. Have you manage to fix it?

cmvee commented 7 years ago

I believe your best bet is to remove the buildpack and edit your Procfile to be web: node .

Why? Strongloop-specific tooling is no longer being maintained since being purchased by IBM. Loopback itself is being maintained, and in fact the loopback-cli project specifically mentions that it "supersedes" strongloop's "older slc tool."

Note that loopback-cli should not be necessary to run the heroku server.