Group Group Group Group Group Group Group Group Group

Password autofill - Vapor and heroku

#1

I’m currently in the chapter 14, for Password Autofill, and I successfully ran the requested commands, until the following one :

I tried to initialize vapor with heroku with the command vapor heroku init in the AppManager-server directory, but I can’t finish the initialization properly :

Would you like to provide a custom Heroku app name?
y/n> y
Custom app name:
> app-manager
Would you like to deploy to a region other than the US?
y/n> y
Region code (us/eu):
> eu
https://app-manager.herokuapp.com/ | https://git.heroku.com/app-manager.git

Would you like to provide a custom Heroku buildpack?
y/n> n
Setting buildpack...
Are you using a custom Executable name?
y/n> n
Setting procfile...
Error: Error Domain=NSCocoaErrorDomain Code=260 "The folder “checkouts” doesn’t exist." UserInfo={NSFilePath=./.build/checkouts/, NSUserStringVariant=(
    Folder
), NSUnderlyingError=0x7ffcd2e00990 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}

Could you help me please ?

#2

@macandyp Can you please help with this when you get a chance? Thank you - much appreciated! :]

#3

@ericlm I believe this is due to some changes that came with swift 3->4, and vapor 2->3. The start project is a bit out of date. I’ll need to work with our team to get them updated in the sample materials, which I’ll try to do ASAP.

#4

It’s related to the new Vapor toolbox.

There is an updated tutorial in the works that uses a Vapor 3-based Heroku server. I’d suggest you wait for that.

// @macandyp @shogunkaramazov

closed #5

This topic was automatically closed after 166 days. New replies are no longer allowed.