masonite: Fix issue with cookies failing on new projects

Describe the bug

I have done a clean install of masonite (and had to additionally pip install masonite-orm as a module error was thrown)

Ran python craft serve then visited local host to see a TypeError - token must be in bytes.

Expected behaviour

Some sort of initial landing page loads without errors after clean install

Steps to reproduce the bug

No response

Screenshots

image

OS

macOS

OS version

Monterey 12.2.1

Browser

Chrome Version 100.0.4896.60 (Official Build) (arm64)

Masonite Version

4.6.1

Anything else ?

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (14 by maintainers)

Most upvoted comments

This is due to the cookies issue. Delete your cookies for localhost and it will work.

It’s trying to use the cookies set on a previous Masonite app or a laravel app.