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
{{ message }}
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.
I followed the instructions in the README and was able to sucsesfully get the application and FaunaDB talking to one another. i.e. I was able to run
npm run bootstrap
and the collections/tables were created in my FaunaDB. However, if I run npm start and navigate to http://localhost:3000/, I receive a javascript error in the console
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
If I attempt to add a todo I get an XHR error in my console
POSThttp://localhost:3000/.netlify/functions/todos-create [HTTP/1.1 404 Not Found 4ms]
An API error occurred SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
I'm unsure if this is bitrot, or if there's some subtle step I'm missing. If someone can confirm this project works as is (or tell me the additional steps needed to get it running) that would go a long way towards getting things up and running myself.
The text was updated successfully, but these errors were encountered:
When accessed on port 8888 the above javascript errors were not a problem, and I could save the TODOs. I presume this has something to do with the "run Netlify functions locally" functionality -- but the discrepancies between the quick start and the tutorial still have me ¯_(ツ)_/¯. Closing out though -- hopefully this helps someone in the future.
I followed the instructions in the README and was able to sucsesfully get the application and FaunaDB talking to one another. i.e. I was able to run
and the collections/tables were created in my FaunaDB. However, if I run
npm start
and navigate to http://localhost:3000/, I receive a javascript error in the consoleIf I attempt to add a todo I get an XHR error in my console
I'm unsure if this is bitrot, or if there's some subtle step I'm missing. If someone can confirm this project works as is (or tell me the additional steps needed to get it running) that would go a long way towards getting things up and running myself.
The text was updated successfully, but these errors were encountered: