masonite icon indicating copy to clipboard operation
masonite copied to clipboard

python craft serve watchdog error on windows 10

Open tanero opened this issue 7 months ago • 0 comments

Describe the bug

On windows 10, pip installs masonite packages successfully. But when I try to start development server by python craft serve gives below error message. After upgrading the watchdog package to 3.0.0 fixed the error.

ImportError

cannot import name 'EVENT_TYPE_OPENED' from 'watchdog.events'

Expected behaviour

WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

  • Running on http://127.0.0.1:8000 Press CTRL+C to quit
  • Restarting with watchdog (windowsapi)

Steps to reproduce the bug

  1. pip install masonite
  2. project start myproject
  3. cd myproject
  4. project install
  5. python craft serve

Screenshots

Error Message:

image

Upgrade watchdog:

image

After upgrade watchdog:

image

OS

Windows

OS version

10

Browser

No response

Masonite Version

4.18.0

Anything else ?

No response

tanero avatar Nov 20 '23 08:11 tanero