Heroku looking for Procfile in wrong directory

Waristea

I'm trying to work with Django on Heroku and I'm following this tutorial with its Django template https://devcenter.heroku.com/articles/django-app-configuration https://devcenter.heroku.com/articles/deploying-python

But when i run 'heroku local web' it always look in the wrong directory. I've tried to move the project

(env) D:\Study\Workbench\heroku-testing\testing\env\codeShareApp>heroku local web
[WARN] No ENV file found
[WARN] ENOENT: no such file or directory, open 'C:\Users\William\Procfile' 
[FAIL] No Procfile and no package.json file found in Current Directory - See 
run_foreman.js --help

The project directory is as follows

env/
    codeShareApp/
        .idea/
        codeShareApp/
        .env
        manage.py
        Procfile
        requirements.txt
        runtime
    include/
    Lib/
    Scripts/
    tcl/

EDIT: I tried to make a new project with directory like below, but still got the same error

codeShareApp/
    codeShareApp/
    env/
    .env
    manage.py
    Procfile
    requirements.txt
    runtime
Waristea

I dont know why, but I tried it on another machine and it works just fine. It seems that it has something to do with heroku cli 6.13 because the error only occurs after it updates from version 5.12 to 6.12

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Looking for template in a wrong directory

From Dev

DoctrineExtensions looking in wrong directory

From Dev

Procfile in Heroku

From Dev

Procfile Heroku

From Dev

phpstorm looking for ssh key in wrong directory

From Dev

Django looking in wrong directory for app's templates

From Dev

Jekyll include looking in wrong directory permalink

From Dev

VLC is looking for plugins in the wrong directory after Reinstall

From Dev

looking for docker-compose in the wrong directory

From Dev

Heroku Procfile not working

From Dev

heroku $PORT variable in Procfile

From Dev

Heroku, Procfile and gitignore

From Dev

How to create a Procfile for Python in Heroku?

From Dev

Heroku Flask Tutorial Procfile Meaning

From Dev

ruby and heroku procfile for web app

From Dev

Can't find Pods.modulemap - looking in wrong directory

From Dev

GHC-mod looking for settings file in wrong directory

From Dev

Anypoint Studio Maven looking in wrong java directory for tools.jar

From Dev

Nginx looking for html5 appcache file in wrong directory

From Dev

npm start looking for /bin/www in the wrong directory, how to update

From Dev

Node.js static file looking at wrong directory

From Dev

Nginx looking for html5 appcache file in wrong directory

From Dev

Difference between Procfile and Procfile.Windows in heroku servers

From Dev

Heroku Procfile won't run Django app

From Dev

"No Procfile detected" in Sinatra app heroku push

From Dev

Rails app using Thin and SSL on Heroku (Procfile)

From Dev

"No Procfile detected" in Sinatra app heroku push

From Dev

Heroku No such process type web defined in procfile

From Dev

Heroku: No such process type worker defined in Procfile

Related Related

HotTag

Archive