You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I first tried to re-write this whole project from scratch as an exercise, just trying do dip my feet into Next and React.
In the beginning, I thought it was something wrong on my end and re factored the whole project down to some packages (worst idea),
then deleting my version and doing a clean git clone of the project to my local directory.
I tried to do a clean run, just updated my .env file.
The error I got on the page itself was as follows:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
@Flexusaurs Figured it out, you probably have the same issue
When adding the REDIS_URL to your .env.local, i accidentally just copy and pasted the public endpoint, instead of doing the format that Jeff says to use.
The format to use is redis://default:HOST:PORT
For me it was REDIS_URL=redis://default:ExKnoJSYIRo3kY0v9PhjBOQZ8DsFhYh1@redis-14847.c245.us-east-1-3.ec2.cloud.redislabs.com:14847
POST ERROR WHILE ADDING DATA FROM REST CLIENTS
I first tried to re-write this whole project from scratch as an exercise, just trying do dip my feet into Next and React.
In the beginning, I thought it was something wrong on my end and re factored the whole project down to some packages (worst idea),
then deleting my version and doing a clean
git clone
of the project to my local directory.I tried to do a clean run, just updated my .env file.
The error I got on the page itself was as follows:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
I also got another error that may be related:
TypeError: Invalid protocol
Steps to recreate
cd "insert-your-directory"
git clone https://github.com/fireship-io/redis-nextjs-fulltext-search.git .
npm run dev
The text was updated successfully, but these errors were encountered: