redwood: [priority] API GraphQL Server 404 Error on Windows with v0.44.1 "Unexpected token N in JSON"

Edit to add reproduction steps:

git clone https://github.com/redwoodjs/redwood-tutorial
cd redwood-tutorial
yarn install
yarn rw prisma migrate dev
yarn rw dev

A tab will open in your browser on http://localhost:8910 showing this error

image

Original post below


when i try this framework as document described in Quick Start,it runs everything well,but just can‘t load any data and get a error for JSON.

i checked the network and find a 404 error for graphQL api.

  • web page error:

image

  • network error:

image image

  • cli info:

image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@thedavidprice Yes, my project works fine now by running yarn rw upgrade. Thanks!!!

@leopen-hu , do you use redwood dbAuth in your project?

@thedavidprice, upgrading to v0.45 did not resolve my issue when trying to sign up/login an user. See the thread I opened in the forum: Failed to load functions/auth & graphql since upgrade to 0.44.

Redwood dbAuth is looking for the auth function in http://localhost:8910/undefined/auth.