Skip to content

Error: ENOTDIR: not a directory, scandir #4

@get4gopim

Description

@get4gopim

I am trying to deploy this application, but i am getting an ERROR not a directory.

But I can able to run the app locally using: sls wsgi serve

pi@raspberrypi:~/PycharmProjects/my-flask-app $ sls deploy
Serverless: Parsing Python requirements.txt
Serverless: Installing required Python packages for runtime python3.7...
Serverless: Linking required Python packages...
Serverless: Using Python specified in "runtime": python3.7
Serverless: Packaging Python WSGI handler...
Serverless: Packaging service...
Serverless: Excluding development dependencies...

Error --------------------------------------------------

Error: ENOTDIR: not a directory, scandir '/home/pi/PycharmProjects/my-flask-app/itsdangerous.py'

 For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com

Your Environment Information ---------------------------
Operating System: linux
Node Version: 14.13.0
Framework Version: 2.4.0
Plugin Version: 4.0.4
SDK Version: 2.3.2
Components Version: 3.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions